ソースを参照

Small pep8 correction.

Jeroen 12 年 前
コミット
3af7db7ad8
1 ファイル変更1 行追加2 行削除
  1. 1 2
      command.py

+ 1 - 2
command.py

@@ -8,7 +8,7 @@ class MoveFileCommand(object):
 
     def execute(self):
         self()
-        
+
     def __call__(self):
         print('renaming {} to {}'.format(self.src, self.dest))
         os.rename(self.src, self.dest)
@@ -25,7 +25,6 @@ if __name__ == "__main__":
     command_stack.append(MoveFileCommand('foo.txt', 'bar.txt'))
     command_stack.append(MoveFileCommand('bar.txt', 'baz.txt'))
 
-
     # they can be executed later on
     for cmd in command_stack:
         cmd.execute()