equal
deleted
inserted
replaced
186 else: |
186 else: |
187 root = keys[0] |
187 root = keys[0] |
188 outer.add_header('Message-Id', "<%s-%s-artemis@%s>" % (issue_id, _random_id(), socket.gethostname())) |
188 outer.add_header('Message-Id', "<%s-%s-artemis@%s>" % (issue_id, _random_id(), socket.gethostname())) |
189 outer.add_header('References', mbox[(comment < len(mbox) and keys[comment]) or root]['Message-Id']) |
189 outer.add_header('References', mbox[(comment < len(mbox) and keys[comment]) or root]['Message-Id']) |
190 outer.add_header('In-Reply-To', mbox[(comment < len(mbox) and keys[comment]) or root]['Message-Id']) |
190 outer.add_header('In-Reply-To', mbox[(comment < len(mbox) and keys[comment]) or root]['Message-Id']) |
191 new_bug_path = issue_fn[(len(repo.root)+1):] + '/new/' + mbox.add(outer) # + 1 for the trailing / |
191 new_bug_path = issue_fn[(len(repo.root)+1):] + '/new/' + mbox.add(outer) # + 1 for the trailing / |
192 commands.add(ui, repo, new_bug_path) |
192 commands.add(ui, repo, new_bug_path) |
193 |
193 |
194 # Fix properties in the root message |
194 # Fix properties in the root message |
195 if properties: |
195 if properties: |
196 root = _find_root_key(mbox) |
196 root = _find_root_key(mbox) |
197 msg = mbox[root] |
197 msg = mbox[root] |