From ddf2ede927898fa521d4eb23aa0811132167504f Mon Sep 17 00:00:00 2001 From: Gerard Wagener Date: Mon, 18 Jan 2010 14:26:06 +0100 Subject: [PATCH] Fixed message parser library --- aha/ahalib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aha/ahalib.py b/aha/ahalib.py index c7c766632be..09b9f704d5e 100644 --- a/aha/ahalib.py +++ b/aha/ahalib.py @@ -16,10 +16,10 @@ class AHAActions: fp = open(filename,'r') for i in fp.read().split('\n'): try: - (key,value) = i.split('=') + (key,value) = i.split('=',1) if msg.has_key(key) == False: msg[key]=[] - msg[key].append(value) + msg[key].append(value) except ValueError,e: pass fp.close()