You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2014/03/25 15:27:00 UTC

[02/50] git commit: [#2286] Fixed flake8 complaints

[#2286] Fixed flake8 complaints

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


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

Branch: refs/heads/db/5995
Commit: 12dfe34f91952717eaaa79fb34dd568b43dc24de
Parents: 8424c06
Author: Cory Johns <cj...@slashdotmedia.com>
Authored: Tue Mar 4 22:37:51 2014 +0000
Committer: Cory Johns <cj...@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/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()