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:54 UTC
[10/16] git commit: [#5502] ticket:505 Use real infinity,
instead of arbitrary 30
[#5502] ticket:505 Use real infinity, instead of arbitrary 30
Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/6168a243
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/6168a243
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/6168a243
Branch: refs/heads/master
Commit: 6168a243cd823dac09af90c1d35636de2b7175f9
Parents: 60b62ec
Author: Igor Bondarenko <je...@gmail.com>
Authored: Wed Dec 18 14:14:34 2013 +0200
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Wed Dec 18 20:38:58 2013 +0000
----------------------------------------------------------------------
Allura/allura/app.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/6168a243/Allura/allura/app.py
----------------------------------------------------------------------
diff --git a/Allura/allura/app.py b/Allura/allura/app.py
index 46aaa04..3e691f3 100644
--- a/Allura/allura/app.py
+++ b/Allura/allura/app.py
@@ -187,7 +187,7 @@ class Application(object):
:cvar dict permissions_desc: Descriptions of the named permissions.
:cvar int max_instances: Specifies the number of tools of this type
that can be added to the project. Zero indicates the system tool or one that
- can not be added to the project by the user. Default value is 30 (sane 'unlimited' value).
+ can not be added to the project by the user. Default value is float("inf").
:cvar bool hidden: Default is False, Application is not hidden from the
list of a project's installed tools.
:cvar str tool_description: Text description of this Application.
@@ -225,7 +225,7 @@ class Application(object):
'configure': 'Set label and options. Requires admin permission.',
'admin': 'Set permissions.',
}
- max_instances = 30
+ max_instances = float("inf")
searchable = False
exportable = False
DiscussionClass = model.Discussion