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
Merge commit 'origin/master'
[plcapi.git]
/
PLC
/
Methods
/
GetPeerName.py
diff --git
a/PLC/Methods/GetPeerName.py
b/PLC/Methods/GetPeerName.py
index
ba5a5a7
..
5b194fa
100644
(file)
--- a/
PLC/Methods/GetPeerName.py
+++ b/
PLC/Methods/GetPeerName.py
@@
-1,3
+1,5
@@
+# $Id$
+# $URL$
from PLC.Method import Method
from PLC.Parameter import Parameter
from PLC.Auth import Auth
from PLC.Method import Method
from PLC.Parameter import Parameter
from PLC.Auth import Auth
@@
-9,7
+11,7
@@
class GetPeerName (Method):
Returns this peer's name, as defined in the config as PLC_NAME
"""
Returns this peer's name, as defined in the config as PLC_NAME
"""
- roles = ['admin', 'peer']
+ roles = ['admin', 'peer'
, 'node'
]
accepts = [Auth()]
accepts = [Auth()]