Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Commit

Permalink
merge to production-0.8
Browse files Browse the repository at this point in the history
--HG--
branch : production-0.8
  • Loading branch information
John Ford committed Apr 24, 2012
2 parents 5700f32 + cda9b7f commit 5ffc408
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions process/factory.py
Expand Up @@ -8486,8 +8486,9 @@ def extractProperties(rv, stdout, stderr):
props = {} props = {}
stdout = stdout.strip() stdout = stdout.strip()
for l in filter(None, stdout.split('\n')): for l in filter(None, stdout.split('\n')):
e = filter(None, l.split(':')) e = filter(None, l.split(':', 1))
props[e[0]] = e[1].strip() if len(e) == 2:
props[e[0]] = e[1].strip()
return props return props


class ScriptFactory(BuildFactory): class ScriptFactory(BuildFactory):
Expand Down

0 comments on commit 5ffc408

Please sign in to comment.