luoxing 11 лет назад
Родитель
Сommit
1496222855
1 измененных файлов с 0 добавлено и 3 удалено
  1. 0 3
      command.py

+ 0 - 3
command.py

@@ -11,9 +11,6 @@ class MoveFileCommand(object):
         self.dest = dest
 
     def execute(self):
-        self()
-
-    def __call__(self):
         print('renaming {} to {}'.format(self.src, self.dest))
         os.rename(self.src, self.dest)