Skip to content

Commit 3af7db7

Browse files
committed
Small pep8 correction.
1 parent 3511c20 commit 3af7db7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

command.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def __init__(self, src, dest):
88

99
def execute(self):
1010
self()
11-
11+
1212
def __call__(self):
1313
print('renaming {} to {}'.format(self.src, self.dest))
1414
os.rename(self.src, self.dest)
@@ -25,7 +25,6 @@ def undo(self):
2525
command_stack.append(MoveFileCommand('foo.txt', 'bar.txt'))
2626
command_stack.append(MoveFileCommand('bar.txt', 'baz.txt'))
2727

28-
2928
# they can be executed later on
3029
for cmd in command_stack:
3130
cmd.execute()

0 commit comments

Comments
 (0)