You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2013/09/23 18:28:23 UTC
[2/4] 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/1531d7a1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/1531d7a1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/1531d7a1
Branch: refs/heads/master
Commit: 1531d7a1bdc47ceb5c5f3272ce4f5eb554bfb1fd
Parents: 740e392
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Wed Sep 11 15:58:38 2013 +0000
Committer: Cory Johns <cj...@slashdotmedia.com>
Committed: Mon Sep 23 16:27:12 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/1531d7a1/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