BryanDavis has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/114514

Change subject: Stop quoting host list for scap-1
......................................................................

Stop quoting host list for scap-1

The python code for scap-1 expects the hosts to be passed as multiple
arguments rather than the single argument that the shell script used.

Change-Id: Id141de16a2abec6713b17443fdd24aaea8b350d4
---
M scap/tasks.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/tools/scap 
refs/changes/14/114514/1

diff --git a/scap/tasks.py b/scap/tasks.py
index a942ac7..4377adb 100644
--- a/scap/tasks.py
+++ b/scap/tasks.py
@@ -138,7 +138,7 @@
 
                 with log.Timer('update apaches', stats) as t:
                     utils.dsh(
-                        '/usr/local/bin/scap-1 "%s"' % ' '.join(scap_proxies),
+                        '/usr/local/bin/scap-1 %s' % ' '.join(scap_proxies),
                         tmp.name, env)
                     t.mark('scap-1 to apaches')
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id141de16a2abec6713b17443fdd24aaea8b350d4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/tools/scap
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>

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

Reply via email to