jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/346481 )

Change subject: Scap clean: ensure proper quotation of deletion commands in 
keep-static
......................................................................


Scap clean: ensure proper quotation of deletion commands in keep-static

Change-Id: If745960cc82309c63031c2b33b873dc917ce08d5
---
M scap/plugins/clean.py
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Chad: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/scap/plugins/clean.py b/scap/plugins/clean.py
index c10ed43..bf1b5c5 100644
--- a/scap/plugins/clean.py
+++ b/scap/plugins/clean.py
@@ -80,7 +80,8 @@
         )
 
         # Update active master (passive gets it on next sync)
-        subprocess.check_call(self.clean_command(stage_dir, keep_static))
+        master_command = ' '.join(self.clean_command(stage_dir, keep_static))
+        subprocess.check_call(master_command, shell=True)
 
         # Update apaches
         self.execute_remote(

-- 
To view, visit https://gerrit.wikimedia.org/r/346481
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If745960cc82309c63031c2b33b873dc917ce08d5
Gerrit-PatchSet: 2
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Chad <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to