diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/leap/crypto/srpauth.py | 4 | ||||
-rw-r--r-- | src/leap/gui/mainwindow.py | 4 | ||||
-rw-r--r-- | src/leap/services/eip/vpnlaunchers.py | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/leap/crypto/srpauth.py b/src/leap/crypto/srpauth.py index 53f6012d..fc0533fc 100644 --- a/src/leap/crypto/srpauth.py +++ b/src/leap/crypto/srpauth.py @@ -387,7 +387,7 @@ class SRPAuth(QtCore.QObject): events_signal( proto.CLIENT_UID, content=uid, - reqckb=lambda resp: None) # make the rpc call async + reqcbk=lambda req, res: None) # make the rpc call async return M2 @@ -428,7 +428,7 @@ class SRPAuth(QtCore.QObject): events_signal( proto.CLIENT_SESSION_ID, content=session_id, - reqckb=lambda resp: None) # make the rpc call async + reqcbk=lambda req, res: None) # make the rpc call async self.set_session_id(session_id) diff --git a/src/leap/gui/mainwindow.py b/src/leap/gui/mainwindow.py index 1a82d600..1d0d3120 100644 --- a/src/leap/gui/mainwindow.py +++ b/src/leap/gui/mainwindow.py @@ -119,10 +119,10 @@ class MainWindow(QtGui.QMainWindow): # register leap events register(signal=proto.UPDATER_NEW_UPDATES, callback=self._new_updates_available, - reqcbk=lambda resp: None) # make rpc call async + reqcbk=lambda req, resp: None) # make rpc call async register(signal=proto.RAISE_WINDOW, callback=self._on_raise_window_event, - reqcbk=lambda resp: None) # make rpc call async + reqcbk=lambda req, resp: None) # make rpc call async self._quit_callback = quit_callback diff --git a/src/leap/services/eip/vpnlaunchers.py b/src/leap/services/eip/vpnlaunchers.py index 63c01796..81d9b43b 100644 --- a/src/leap/services/eip/vpnlaunchers.py +++ b/src/leap/services/eip/vpnlaunchers.py @@ -268,7 +268,7 @@ class LinuxVPNLauncher(VPNLauncher): """ to = kls.SYSTEM_CONFIG cmd = "#!/bin/sh\nset -e\nmkdir -p %s\n" - cmd += "cp %s/%s %s\ncp \"%s\" \"%s\"" % ( + cmd = (cmd + "cp %s/%s %s\ncp \"%s\" \"%s\"") % ( to, frompath, kls.UP_DOWN_FILE, to, pol_file, kls.POLKIT_PATH) |