From e867f46c164c386325be7c5abcbc9dd60fbf1b94 Mon Sep 17 00:00:00 2001 From: moculus Date: Sat, 21 Mar 2009 19:47:12 +0000 Subject: [PATCH] --HG-- branch : pmacs2 --- method/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/method/__init__.py b/method/__init__.py index 4c17780..bfbdf0d 100644 --- a/method/__init__.py +++ b/method/__init__.py @@ -9,8 +9,7 @@ class MethodError(Exception): def arg(n, t=type(''), dt=None, p=None, h='', dv=default.none, ld=False): '''convenience function for arguments''' - return Argument(n, type=t, datatype=dt, prompt=p, help=h, default=dv, - load_default=ld) + return Argument(n, type=t, datatype=dt, prompt=p, help=h, default=dv, load_default=ld) class Argument(object): def __init__(self, name, type=type(""), datatype=None, prompt=None, help='', default=default.none, load_default=False):