X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FParameter.py;h=1144ec8f198d617704f1dc8c844ee30192a9e2fb;hb=2262dad38e7699a98c3df2a8c0de3ccf3d6e6373;hp=6d20307bb6991c9cb5f604b659aa6d28bd71b182;hpb=6e915d8a9ac5474c20482751ab6d24e6ce13aec9;p=plcapi.git diff --git a/PLC/Parameter.py b/PLC/Parameter.py index 6d20307..1144ec8 100644 --- a/PLC/Parameter.py +++ b/PLC/Parameter.py @@ -5,7 +5,6 @@ # Copyright (C) 2006 The Trustees of Princeton University # -# from types import * from PLC.Faults import * class Parameter: @@ -15,11 +14,11 @@ class Parameter: sub-parameters (i.e., dict fields). """ - def __init__(self, typeval, doc = "", - min = None, max = None, - optional = None, - ro = False, - nullok = False): + def __init__(self, typeval, doc="", + min=None, max=None, + optional=None, + ro=False, + nullok=False): # Basic type of the parameter. Must be a builtin type # that can be marshalled by XML-RPC. self.type = typeval