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
- use base class __init__() and delete() implementations
[plcapi.git]
/
PLC
/
Sites.py
diff --git
a/PLC/Sites.py
b/PLC/Sites.py
index
cb9c54a
..
6b2d237
100644
(file)
--- a/
PLC/Sites.py
+++ b/
PLC/Sites.py
@@
-41,10
+41,6
@@
class Site(Row):
'node_ids': Parameter([int], "List of site node identifiers", ro = True),
}
- def __init__(self, api, fields = {}):
- Row.__init__(self, fields)
- self.api = api
-
def validate_name(self, name):
name = name.strip()
if not name: