From 79aeb84055cda32f10df139b69754b0fcee2f550 Mon Sep 17 00:00:00 2001 From: rzaitov Date: Tue, 12 Nov 2013 16:06:56 +0400 Subject: [PATCH] =?UTF-8?q?=D0=B1=D1=8D=D0=BA=D0=B0=D0=BF=D0=B0=20=D0=BC?= =?UTF-8?q?=D0=BE=D0=B6=D0=B5=D1=82=20=D0=BD=D0=B5=20=D0=B1=D1=8B=D1=82?= =?UTF-8?q?=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../commands/BaseBackupCommand/RestoreBackupCommand.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/TouchinBuild/commands/BaseBackupCommand/RestoreBackupCommand.py b/scripts/TouchinBuild/commands/BaseBackupCommand/RestoreBackupCommand.py index bcb0067..403d5f7 100644 --- a/scripts/TouchinBuild/commands/BaseBackupCommand/RestoreBackupCommand.py +++ b/scripts/TouchinBuild/commands/BaseBackupCommand/RestoreBackupCommand.py @@ -9,7 +9,7 @@ class RestoreBackupCommand(BaseBackupCommand): def execute(self): if not os.path.exists(self.backupDirAbsPath): - raise Exception('backup folder: {0} not exists'.format(self.backupDirAbsPath)) + return srcDirContent = os.listdir(self.srcAbsDirPath) for fileOrDir in srcDirContent: