Download:
child 160:fda1f8cab608
parent 158:e5f7af8bbcbe
159:c233397bcb7e
Anton Shestakov <av6@dwimlabs.net>, Mon, 18 Jul 2016 15:29:51 +0800
queue: don't use full path to config file (likely to be different in isolation)

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
worker-queue.py file | annotate | diff | comparison | revisions
--- a/worker-queue.py Mon Jul 18 14:04:50 2016 +0800
+++ b/worker-queue.py Mon Jul 18 15:29:51 2016 +0800
@@ -17,7 +17,7 @@
def handle(isolation, rconn, change):
payload = json.loads(change)
- config = rel('projects/{source}/{repo}.yml'.format(**payload))
+ config = 'projects/{source}/{repo}.yml'.format(**payload)
if not exists(config):
logging.warn("Skipping %s (file doesn't exist: %r)", payload['repo'], config)