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
added create_network(), delete_network(), create_subnet(), delete_subnet(), process_t...
[plcapi.git]
/
PLC
/
NetworkMethods.py
diff --git
a/PLC/NetworkMethods.py
b/PLC/NetworkMethods.py
index
97e2505
..
f1e21f7
100644
(file)
--- a/
PLC/NetworkMethods.py
+++ b/
PLC/NetworkMethods.py
@@
-36,7
+36,7
@@
class NetworkMethod(AlchemyObj):
AlchemyObj.insert(self, dict(self))
def delete(self, commit=True):
- assert
method
in self
+ assert
'method'
in self
AlchemyObj.delete(self, dict(self))