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 2013/03/06 17:10:02 UTC

[2/3] git commit: [#5861] ticket:284 fixed templates error

[#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 <yu...@yandex.ru>
Authored: Tue Mar 5 17:17:01 2013 +0400
Committer: Dave Brondsema <db...@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.')