Skip to content

Commit e98960a

Browse files
pylint problem solved
1 parent 399d3e3 commit e98960a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cycler.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,10 @@ def change_key(self, old, new):
185185
if old == new:
186186
return
187187
if new in self._keys:
188-
raise ValueError("Can't replace {old} with {new}, {new} is already a key"
189-
.format(old=old, new=new))
188+
raise ValueError(
189+
"Can't replace {old} with {new}, {new} is already a key"
190+
.format(old=old, new=new)
191+
)
190192
if old not in self._keys:
191193
raise KeyError("Can't replace {old} with {new}, {old} is not a key"
192194
.format(old=old, new=new))

0 commit comments

Comments
 (0)