From d4741a6ab79b6bd7b9a78dfdcb5bfc9dc501fae6 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Sat, 16 May 2020 14:01:11 +0500 Subject: [PATCH] remove duplicate log message --- websiteFunctions/StagingSetup.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/websiteFunctions/StagingSetup.py b/websiteFunctions/StagingSetup.py index e6af71bf9..7fd2929ed 100644 --- a/websiteFunctions/StagingSetup.py +++ b/websiteFunctions/StagingSetup.py @@ -264,7 +264,6 @@ define('WP_SITEURL','http://%s'); os.remove(databasePath) except: pass - if eraseCheck: sourcePath = child.path destinationPath = '/home/%s/public_html' % (child.master.domain) @@ -288,8 +287,6 @@ define('WP_SITEURL','http://%s'); logging.statusWriter(tempStatusPath, 'Data copied..,[200]') - logging.statusWriter(tempStatusPath, 'Data copied..,[200]') - return 0 except BaseException as msg: mesg = '%s. [404]' % (str(msg))