Merge "Support spaces in Gearman functions names"

This commit is contained in:
Jenkins 2015-05-08 13:35:21 +00:00 committed by Gerrit Code Review
commit ffa869d29a
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ class GearmanClient(gear.Client):
self._lostConnection(connection)
continue
for line in req.response.split('\n'):
parts = [x.strip() for x in line.split()]
parts = [x.strip() for x in line.split('\t')]
if not parts or parts[0] == '.':
continue
if not parts[0].startswith('build:'):