From: Mark Huang Date: Thu, 1 Feb 2007 22:28:59 +0000 (+0000) Subject: - changed gpg_sign() calling convention X-Git-Tag: pycurl-7_13_1~20 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3cd5698730c2fbf91b43ab65938559a43e8be003;p=plcapi.git - changed gpg_sign() calling convention --- diff --git a/PLC/Peers.py b/PLC/Peers.py index 21c9dfd..b1de5e7 100644 --- 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 - signature = gpg_sign(methodname, args, + signature = gpg_sign(args, 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,