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/12/18 22:05:50 UTC

[06/16] git commit: [#5502] ticket:462 Fix installable check

[#5502] ticket:462 Fix installable check


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

Branch: refs/heads/master
Commit: 13863093192c9bc26e6d1d1505c5cbc6bc765c09
Parents: 89ade3a
Author: Igor Bondarenko <je...@gmail.com>
Authored: Thu Nov 28 14:02:59 2013 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Wed Dec 18 20:38:57 2013 +0000

----------------------------------------------------------------------
 Allura/allura/app.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/13863093/Allura/allura/app.py
----------------------------------------------------------------------
diff --git a/Allura/allura/app.py b/Allura/allura/app.py
index 800f200..0a87d21 100644
--- a/Allura/allura/app.py
+++ b/Allura/allura/app.py
@@ -332,7 +332,7 @@ class Application(object):
 
         """
         tools_list = [tool.tool_name.lower() for tool in self.project.app_configs]
-        return tools_list.count(self.tool_label.lower()) < self.max_instances
+        return tools_list.count(self.config.tool_name.lower()) < self.max_instances
 
     @classmethod
     def validate_mount_point(cls, mount_point):