merged w/ upstream (kept Jason's version for repo.add fix)
authorTomas Zeman <tzeman@volny.cz>
Fri, 02 Sep 2011 16:32:31 +0200
changeset 70 5796e44b0e17
parent 53 c335d316f54d (diff)
parent 69 88c088722a30 (current diff)
child 71 db85d3d0f23e
merged w/ upstream (kept Jason's version for repo.add fix)
artemis.py
artemis/artemis.py
aux/convert-mbox-date.py
aux/convert-mbox-maildir.py
--- a/artemis/artemis.py	Thu Apr 28 08:50:31 2011 -0700
+++ b/artemis/artemis.py	Fri Sep 02 16:32:31 2011 +0200
@@ -188,8 +188,8 @@
         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'])
-    new_bug_path = issue_fn[(len(repo.root)+1):] + '/new/' + mbox.add(outer) # + 1 for the trailing /
-    commands.add(ui, repo, new_bug_path)
+        new_bug_path = issue_fn[(len(repo.root)+1):] + '/new/' + mbox.add(outer) # + 1 for the trailing /
+        commands.add(ui, repo, new_bug_path)
 
     # Fix properties in the root message
     if properties: