incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [21/50] git commit: [#3154] ticket:389 Remove trailing spaces and commented code
Date Thu, 22 Aug 2013 21:53:47 GMT
[#3154] ticket:389 Remove trailing spaces and commented code


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

Branch: refs/heads/master
Commit: c618a01b2f457dd75d9dc69b604f26668f6e521e
Parents: 2a60f9a
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Wed Jul 24 11:01:10 2013 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Thu Aug 22 20:04:42 2013 +0000

----------------------------------------------------------------------
 Allura/allura/model/project.py              | 2 --
 ForgeTracker/forgetracker/tests/test_app.py | 4 ++--
 ForgeTracker/forgetracker/tracker_main.py   | 2 +-
 3 files changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/c618a01b/Allura/allura/model/project.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/project.py b/Allura/allura/model/project.py
index b6d6a1f..02fddac 100644
--- a/Allura/allura/model/project.py
+++ b/Allura/allura/model/project.py
@@ -911,8 +911,6 @@ class AppConfig(MappedClass):
             tool_name=self.tool_name,
             version=self.version,
             options=self.options,
-            # project=self.project,
-            # discussion=self.discussion
             tool_data=self.tool_data,
             acl=self.acl,
         )

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/c618a01b/ForgeTracker/forgetracker/tests/test_app.py
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/tests/test_app.py b/ForgeTracker/forgetracker/tests/test_app.py
index c84fa8d..0568829 100644
--- a/ForgeTracker/forgetracker/tests/test_app.py
+++ b/ForgeTracker/forgetracker/tests/test_app.py
@@ -48,11 +48,11 @@ class TestBulkExport(TrackerTestController):
         tickets = sorted(tracker['tickets'], key=operator.itemgetter('summary'))
         assert_equal(len(tickets), 2)
         ticket_foo = tickets[1]
-        assert_equal(ticket_foo['summary'], 'foo')                
+        assert_equal(ticket_foo['summary'], 'foo')
         assert_equal(ticket_foo['custom_fields']['_milestone'], '1.0')
         posts_foo = ticket_foo['discussion_thread']['posts']
         assert_equal(len(posts_foo), 1)
-        assert_equal(posts_foo[0]['text'], 'silly comment')         
+        assert_equal(posts_foo[0]['text'], 'silly comment')
 
         tracker_config = tracker['tracker_config']
         assert_equal(tracker_config['project_id'], unicode(self.project._id))

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/c618a01b/ForgeTracker/forgetracker/tracker_main.py
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/tracker_main.py b/ForgeTracker/forgetracker/tracker_main.py
index a0740a9..d6d20db 100644
--- a/ForgeTracker/forgetracker/tracker_main.py
+++ b/ForgeTracker/forgetracker/tracker_main.py
@@ -424,7 +424,7 @@ class ForgeTrackerApp(Application):
         milestones = self.milestones
         json.dump(milestones, f, cls=jsonify.GenericJSON)
         f.write(', "saved_bins":')
-        bins = self.bins        
+        bins = self.bins
         json.dump(bins, f, cls=jsonify.GenericJSON)
         f.write('}')
 


Mime
View raw message