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/09/11 18:41:54 UTC

[2/3] git commit: [#5822] allow tasks with no arguments

[#5822] allow tasks with no arguments


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

Branch: refs/heads/db/5822
Commit: 5ede0f5e0ae18666bc6af80e8a622a314ef0cf73
Parents: 94dbea0
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Wed Sep 11 15:58:38 2013 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Wed Sep 11 15:58:38 2013 +0000

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


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/5ede0f5e/Allura/allura/scripts/scripttask.py
----------------------------------------------------------------------
diff --git a/Allura/allura/scripts/scripttask.py b/Allura/allura/scripts/scripttask.py
index b686838..229bbe6 100644
--- a/Allura/allura/scripts/scripttask.py
+++ b/Allura/allura/scripts/scripttask.py
@@ -66,7 +66,7 @@ class ScriptTask(object):
         def __new__(meta, classname, bases, classDict):
             return task(type.__new__(meta, classname, bases, classDict))
 
-    def __new__(cls, arg_string):
+    def __new__(cls, arg_string=''):
         cls._execute_task(arg_string)
 
     @classmethod