artemis.py: fixed repo.add method call
author"Tomas Zeman <tzeman@volny.cz>"
Mon, 04 Oct 2010 14:14:49 +0200
changeset 53 c335d316f54d
parent 52 bf3b55a54cff
child 70 5796e44b0e17
artemis.py: fixed repo.add method call
artemis.py
--- a/artemis.py	Thu Jun 10 08:34:23 2010 +0200
+++ b/artemis.py	Mon Oct 04 14:14:49 2010 +0200
@@ -169,7 +169,7 @@
         outer.add_header('Message-Id', "<%s-%s-artemis@%s>" % (issue_id, _random_id(), socket.gethostname()))
         outer.add_header('References', mbox[(comment < len(mbox) and keys[comment]) or root]['Message-Id'])
         outer.add_header('In-Reply-To', mbox[(comment < len(mbox) and keys[comment]) or root]['Message-Id'])
-    repo.add([issue_fn[(len(repo.root)+1):] + '/new/'  + mbox.add(outer)])   # +1 for the trailing /
+    repo[None].add([issue_fn[(len(repo.root)+1):] + '/new/'  + mbox.add(outer)])   # +1 for the trailing /
 
     # Fix properties in the root message
     if properties: