summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/londiste/handler.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/londiste/handler.py b/python/londiste/handler.py
index 2fe69f21..45fb53bf 100644
--- a/python/londiste/handler.py
+++ b/python/londiste/handler.py
@@ -168,6 +168,7 @@ def _parse_arglist(arglist):
args = {}
for arg in arglist or []:
key, _, val = arg.partition('=')
+ key = key.strip()
if key in args:
raise Exception('multiple handler arguments: %s' % key)
args[key] = val.strip()