incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [36/41] git commit: [#6535] minor code cleanup
Date Thu, 19 Sep 2013 16:22:08 GMT
[#6535] minor code cleanup


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/871731e9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/871731e9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/871731e9

Branch: refs/heads/db/5822
Commit: 871731e9422907711980024c6d65313c6879e0c4
Parents: 503c4f7
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Thu Sep 19 14:46:45 2013 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Thu Sep 19 14:46:52 2013 +0000

----------------------------------------------------------------------
 ForgeImporters/forgeimporters/github/tracker.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/871731e9/ForgeImporters/forgeimporters/github/tracker.py
----------------------------------------------------------------------
diff --git a/ForgeImporters/forgeimporters/github/tracker.py b/ForgeImporters/forgeimporters/github/tracker.py
index 655980a..e441516 100644
--- a/ForgeImporters/forgeimporters/github/tracker.py
+++ b/ForgeImporters/forgeimporters/github/tracker.py
@@ -154,8 +154,7 @@ class GitHubTrackerImporter(ToolImporter):
             if comment['user']:
                 posted_by = u'*Originally posted by:* {}\n'.format(
                     self.get_user_link(comment['user']['login']))
-                posted_by += body
-                body = posted_by
+                body = posted_by + body
             p = ticket.discussion_thread.add_post(
                     text = body,
                     ignore_security = True,


Mime
View raw message