git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more ironing in the corner of that 'types' modules
[plcapi.git]
/
PLC
/
Parameter.py
diff --git
a/PLC/Parameter.py
b/PLC/Parameter.py
index
6d20307
..
1144ec8
100644
(file)
--- a/
PLC/Parameter.py
+++ b/
PLC/Parameter.py
@@
-5,7
+5,6
@@
# Copyright (C) 2006 The Trustees of Princeton University
#
# Copyright (C) 2006 The Trustees of Princeton University
#
-# from types import *
from PLC.Faults import *
class Parameter:
from PLC.Faults import *
class Parameter:
@@
-15,11
+14,11
@@
class Parameter:
sub-parameters (i.e., dict fields).
"""
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
# Basic type of the parameter. Must be a builtin type
# that can be marshalled by XML-RPC.
self.type = typeval