incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [2/3] git commit: [#5861] ticket:284 fixed templates error
Date Wed, 06 Mar 2013 16:10:02 GMT
[#5861] ticket:284 fixed templates error


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

Branch: refs/heads/master
Commit: 0d4bdf2b1e46628f159275a4d8835356342c72f3
Parents: a3a01f6
Author: Yuriy Arhipov <yuriyarhipovua@yandex.ru>
Authored: Tue Mar 5 17:17:01 2013 +0400
Committer: Dave Brondsema <dbrondsema@geek.net>
Committed: Wed Mar 6 15:33:20 2013 +0000

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


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/0d4bdf2b/Allura/allura/controllers/project.py
----------------------------------------------------------------------
diff --git a/Allura/allura/controllers/project.py b/Allura/allura/controllers/project.py
index da9d111..646f9d7 100644
--- a/Allura/allura/controllers/project.py
+++ b/Allura/allura/controllers/project.py
@@ -204,7 +204,7 @@ class NeighborhoodController(object):
         if tools and not neighborhood.project_template:
             anchored_tools = neighborhood.get_anchored_tools()
             for i, tool in enumerate(tools):
-                if (tool not in anchored_tools.keys()) and (c.project.app_instance(tool)
is None):
+                if (tool.lower() not in anchored_tools.keys()) and (c.project.app_instance(tool)
is None):
                     c.project.install_app(tool, ordinal=i + offset)
         flash('Welcome to the SourceForge Project System! '
               'To get started, fill out some information about your project.')


Mime
View raw message