incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [2/2] git commit: [#2286] Fixed flake8 complaints
Date Tue, 04 Mar 2014 22:39:24 GMT
[#2286] Fixed flake8 complaints

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>


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

Branch: refs/heads/master
Commit: 12dfe34f91952717eaaa79fb34dd568b43dc24de
Parents: 8424c06
Author: Cory Johns <cjohns@slashdotmedia.com>
Authored: Tue Mar 4 22:37:51 2014 +0000
Committer: Cory Johns <cjohns@slashdotmedia.com>
Committed: Tue Mar 4 22:38:13 2014 +0000

----------------------------------------------------------------------
 Allura/allura/controllers/project.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/12dfe34f/Allura/allura/controllers/project.py
----------------------------------------------------------------------
diff --git a/Allura/allura/controllers/project.py b/Allura/allura/controllers/project.py
index c746c26..ea2e6d5 100644
--- a/Allura/allura/controllers/project.py
+++ b/Allura/allura/controllers/project.py
@@ -621,12 +621,12 @@ class NeighborhoodAdminController(object):
             for prohibited_tool in prohibited_tools.split(','):
                 if prohibited_tool.strip() not in g.entry_points['tool']:
                     flash('Prohibited tools "%s" is invalid' %
-                      prohibited_tool.strip(), 'error')
+                          prohibited_tool.strip(), 'error')
                     result = False
 
         if result:
             h.log_if_changed(nbhd, 'prohibited_tools', prohibited_tools,
-                            'update neighborhood prohibited tools')
+                             'update neighborhood prohibited tools')
 
         anchored_tools = kw.get('anchored_tools', '')
         validate_tools = dict()


Mime
View raw message