Chad has uploaded a new change for review. ( 
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(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/81/346481/1

diff --git a/scap/plugins/clean.py b/scap/plugins/clean.py
index 21411e6..8f7df3c 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: newchange
Gerrit-Change-Id: If745960cc82309c63031c2b33b873dc917ce08d5
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Chad <[email protected]>

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

Reply via email to