From b736419957d0e32c60ed38870c35f0736099ed98 Mon Sep 17 00:00:00 2001 From: rzaitov Date: Tue, 12 Nov 2013 15:54:46 +0400 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81=20=D0=B2=D0=BE=D1=81?= =?UTF-8?q?=D1=81=D1=82=D0=B0=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F=20=D0=B8=D0=B7=20=D0=B1=D1=8D=D0=BA=D0=B0=D0=BF=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../commands/BaseBackupCommand/RestoreBackupCommand.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/TouchinBuild/commands/BaseBackupCommand/RestoreBackupCommand.py b/scripts/TouchinBuild/commands/BaseBackupCommand/RestoreBackupCommand.py index a169020..bcb0067 100644 --- a/scripts/TouchinBuild/commands/BaseBackupCommand/RestoreBackupCommand.py +++ b/scripts/TouchinBuild/commands/BaseBackupCommand/RestoreBackupCommand.py @@ -35,8 +35,7 @@ class RestoreBackupCommand(BaseBackupCommand): srcAbsPath = os.path.join(self.srcAbsDirPath, fileOrDirName) fileInBackupFolderAbsPath = os.path.join(self.backupDirAbsPath, fileOrDirName) - print fileInBackupFolderAbsPath, srcAbsPath - if os.path.isdir(srcAbsPath): + if os.path.isdir(fileInBackupFolderAbsPath): shutil.copytree(fileInBackupFolderAbsPath, srcAbsPath) else: shutil.copy(fileInBackupFolderAbsPath, srcAbsPath)