incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [32/48] git commit: [#5074] ticket:188 remove trailing spaces
Date Tue, 30 Oct 2012 17:30:06 GMT
[#5074] ticket:188 remove trailing spaces


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

Branch: refs/heads/cj/5005
Commit: 3d9e0fccaac6d897d3de95d8624faa6b43fb81d8
Parents: f234f5d
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Wed Oct 10 13:30:09 2012 +0300
Committer: Cory Johns <johnsca@geek.net>
Committed: Mon Oct 15 22:02:26 2012 +0000

----------------------------------------------------------------------
 .../forgetracker/tests/functional/test_root.py     |   10 +++++-----
 ForgeTracker/forgetracker/tracker_main.py          |    2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/3d9e0fcc/ForgeTracker/forgetracker/tests/functional/test_root.py
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/tests/functional/test_root.py b/ForgeTracker/forgetracker/tests/functional/test_root.py
index 1029830..22199dc 100644
--- a/ForgeTracker/forgetracker/tests/functional/test_root.py
+++ b/ForgeTracker/forgetracker/tests/functional/test_root.py
@@ -698,7 +698,7 @@ class TestFunctionalController(TrackerTestController):
 
     def test_comment_split(self):
         summary = 'new ticket'
-        ticket_view = self.new_ticket(summary=summary).follow()                
+        ticket_view = self.new_ticket(summary=summary).follow()
         for f in ticket_view.html.findAll('form'):
             if f.get('action', '').endswith('/post'):
                 break
@@ -712,13 +712,13 @@ class TestFunctionalController(TrackerTestController):
         r = self.app.post(f['action'].encode('utf-8'), params=params,
                           headers={'Referer': '/bugs/1/'.encode("utf-8")})
         r = self.app.get('/bugs/1/', dict(page=1))
-        assert_true(post_content in r)        
+        assert_true(post_content in r)
         assert_true(len(r.html.findAll(attrs={'class': 'discussion-post'})) == 1)
 
         new_summary = 'old ticket'
         for f in ticket_view.html.findAll('form'):
             if f.get('action', '').endswith('update_ticket_from_widget'):
-                break                
+                break
         params = dict()
         inputs = f.findAll('input')
         for field in inputs:
@@ -728,8 +728,8 @@ class TestFunctionalController(TrackerTestController):
         r = self.app.post(f['action'].encode('utf-8'), params=params,
                           headers={'Referer': '/bugs/1/'.encode("utf-8")})
         r = self.app.get('/bugs/1/', dict(page=1))
-        assert_true(summary+' --&gt; '+new_summary in r)   
-        assert_true(len(r.html.findAll(attrs={'class': 'discussion-post'})) == 2)     
+        assert_true(summary+' --&gt; '+new_summary in r)
+        assert_true(len(r.html.findAll(attrs={'class': 'discussion-post'})) == 2)
 
     def test_discussion_paging(self):
         summary = 'test discussion paging'

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/3d9e0fcc/ForgeTracker/forgetracker/tracker_main.py
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/tracker_main.py b/ForgeTracker/forgetracker/tracker_main.py
index d75a985..4ea24f8 100644
--- a/ForgeTracker/forgetracker/tracker_main.py
+++ b/ForgeTracker/forgetracker/tracker_main.py
@@ -1107,7 +1107,7 @@ class TicketController(BaseController):
                 changes[cf.name[1:]] = cf_val(cf)
                 self.ticket.custom_fields[cf.name] = value
                 changes[cf.name[1:]] = cf_val(cf)
-        thread = self.ticket.discussion_thread            
+        thread = self.ticket.discussion_thread
         tpl_fn = pkg_resources.resource_filename(
             'forgetracker', 'data/ticket_changed_tmpl')
         change_text = h.render_genshi_plaintext(


Mime
View raw message