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
Add a more instructive Event message to reconstruct what actually occurred as
[plcapi.git]
/
PLC
/
Methods
/
GetNetworkTypes.py
diff --git
a/PLC/Methods/GetNetworkTypes.py
b/PLC/Methods/GetNetworkTypes.py
index
eab232b
..
c1ced07
100644
(file)
--- a/
PLC/Methods/GetNetworkTypes.py
+++ b/
PLC/Methods/GetNetworkTypes.py
@@
-1,3
+1,5
@@
+# $Id$
+# $URL$
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
from PLC.Faults import *
from PLC.Method import Method
from PLC.Parameter import Parameter, Mixed
@@
-9,7
+11,7
@@
class GetNetworkTypes(Method):
Returns a list of all valid network types.
"""
Returns a list of all valid network types.
"""
- roles = ['admin', 'pi', 'user', 'tech']
+ roles = ['admin', 'pi', 'user', 'tech'
, 'node'
]
accepts = [
Auth()
accepts = [
Auth()