allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [18/20] git commit: [#5822] allow tasks with no arguments
Date Tue, 17 Sep 2013 19:12:16 GMT
[#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/32f56eec
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/32f56eec
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/32f56eec

Branch: refs/heads/db/5822
Commit: 32f56eec2d2720eb5845ba17125767debe369738
Parents: d437bd2
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Wed Sep 11 15:58:38 2013 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Tue Sep 17 18:02:59 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/32f56eec/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


Mime
View raw message