Browse files

merge to production-0.8

--HG--
branch : production-0.8
  • Loading branch information...
2 parents 5700f32 + cda9b7f commit 5ffc408ccc71514ebdea221d152ded374128c1ce @jhford jhford committed Apr 24, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 process/factory.py
View
5 process/factory.py
@@ -8486,8 +8486,9 @@ def extractProperties(rv, stdout, stderr):
props = {}
stdout = stdout.strip()
for l in filter(None, stdout.split('\n')):
- e = filter(None, l.split(':'))
- props[e[0]] = e[1].strip()
+ e = filter(None, l.split(':', 1))
+ if len(e) == 2:
+ props[e[0]] = e[1].strip()
return props
class ScriptFactory(BuildFactory):

0 comments on commit 5ffc408

Please sign in to comment.