From 942a1b2299be8a4184ccc3b4708a916fda7d234e Mon Sep 17 00:00:00 2001 From: "Victoria Terenina (torymur)" Date: Fri, 3 Apr 2015 14:27:17 +0300 Subject: [PATCH] fixed bug with --list-projects option (scrapyd-deploy) --- bin/scrapyd-deploy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/scrapyd-deploy b/bin/scrapyd-deploy index 943baa6c..85778fbd 100755 --- a/bin/scrapyd-deploy +++ b/bin/scrapyd-deploy @@ -73,7 +73,7 @@ def main(): _add_auth_header(req, target) f = urllib2.urlopen(req) projects = json.loads(f.read())['projects'] - print os.linesep.join(projects) + print os.linesep.join(map(str, projects)) return tmpdir = None