# HG changeset patch # User "Tomas Zeman " # Date 1286194489 -7200 # Node ID c335d316f54d25328229aae533374fcb4f98425e # Parent bf3b55a54cff01ec321fc642f245afecb8a60b98 artemis.py: fixed repo.add method call diff -r bf3b55a54cff -r c335d316f54d 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: