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
- changed gpg_sign() calling convention
[plcapi.git]
/
PLC
/
Peers.py
diff --git
a/PLC/Peers.py
b/PLC/Peers.py
index
21c9dfd
..
b1de5e7
100644
(file)
--- a/
PLC/Peers.py
+++ b/
PLC/Peers.py
@@
-166,9
+166,10
@@
class Peer(Row):
def wrapper(*args, **kwds):
from PLC.GPG import gpg_sign
def wrapper(*args, **kwds):
from PLC.GPG import gpg_sign
- signature = gpg_sign(
methodname,
args,
+ signature = gpg_sign(args,
self.api.config.PLC_ROOT_GPG_KEY,
self.api.config.PLC_ROOT_GPG_KEY,
- self.api.config.PLC_ROOT_GPG_KEY_PUB)
+ self.api.config.PLC_ROOT_GPG_KEY_PUB,
+ methodname)
auth = {'AuthMethod': "gpg",
'name': self.api.config.PLC_NAME,
auth = {'AuthMethod': "gpg",
'name': self.api.config.PLC_NAME,