diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-03-25 18:19:20 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-03-25 18:19:20 +0000 |
commit | 49d4a51b62b305d282061ff1f2cb80ad3ede12d2 (patch) | |
tree | 1533b838d209c14ddd760e9b8c2dde88b828dfb9 | |
parent | c0795e9397a43d0be12840e86943a75be9c69105 (diff) | |
download | lorry-controller-49d4a51b62b305d282061ff1f2cb80ad3ede12d2.tar.gz |
Fix re.match call
-rw-r--r-- | lorrycontroller/givemejob.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lorrycontroller/givemejob.py b/lorrycontroller/givemejob.py index d5e8f6d..3690b49 100644 --- a/lorrycontroller/givemejob.py +++ b/lorrycontroller/givemejob.py @@ -119,7 +119,7 @@ class GiveMeJob(lorrycontroller.LorryControllerRoute): result = collections.defaultdict(str) for line in stdout.splitlines(): - m = re.match(r'^([^:])+:\s*(.*)$') + m = re.match(r'^([^:])+:\s*(.*)$', line) if m: result[m.group(0)] = m.group(1).strip() |