Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2013-05-18 06:57:39 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2013-05-18 06:57:39 (GMT)
commita3df9c75d311e406fab16ce82740078062fe5dc0 (patch)
treeab349989bbae98f29d75b1d9ee493cf5285c8e92
parentc8af3f5cdc188a6b97221ffa91931a6765e30728 (diff)
Try to fix revisions arg passing
-rw-r--r--builders.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/builders.py b/builders.py
index a54c978..e18548d 100644
--- a/builders.py
+++ b/builders.py
@@ -1,15 +1,11 @@
import json
-import pipes
from buildbot.process.factory import BuildFactory
from buildbot.steps.source.git import Git
from buildbot.steps.shell import ShellCommand
-from buildbot.steps.master import MasterShellCommand
from buildbot.config import BuilderConfig
from buildbot.locks import MasterLock
-from buildbot.process.properties import Interpolate
from buildbot.steps.transfer import DirectoryUpload
-from buildbot.steps.transfer import FileUpload
class PullCommand(ShellCommand):
@@ -24,8 +20,8 @@ class PullCommand(ShellCommand):
command = ["./osbuild", "pull"]
if revisions:
- revisions_json = pipes.quote(json.dumps(revisions))
- command.append("--revisions=%s" % revisions_json)
+ revisions_json = json.dumps(revisions)
+ command.extend(["--revisions", revisions_json])
self.setCommand(command)