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
fixed: encodes boolean and double type values for the requests
[plcapi.git]
/
PLC
/
Methods
/
DeleteNetworkType.py
diff --git
a/PLC/Methods/DeleteNetworkType.py
b/PLC/Methods/DeleteNetworkType.py
index
424628e
..
1a0539e
100644
(file)
--- a/
PLC/Methods/DeleteNetworkType.py
+++ b/
PLC/Methods/DeleteNetworkType.py
@@
-1,5
+1,3
@@
-# $Id$
-# $URL$
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
@@
-24,7
+22,7
@@
class DeleteNetworkType(Method):
]
returns = Parameter(int, '1 if successful')
-
+
def call(self, auth, name):
network_types = NetworkTypes(self.api, [name])