From: Tony Mack Date: Mon, 7 Dec 2009 22:47:00 +0000 (+0000) Subject: fix syntax error X-Git-Tag: sfa-0.9-7~193 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=2ced4b12a8730c70fd254f5cdb151b4e410b126a;p=sfa.git fix syntax error --- diff --git a/sfa/methods/get_key.py b/sfa/methods/get_key.py index 6d48379b..501bbc66 100644 --- a/sfa/methods/get_key.py +++ b/sfa/methods/get_key.py @@ -24,7 +24,7 @@ class request_key(Method): # verify that the callers's ip address exist in the db and is an inteface # for a node in the db (ip, port) = self.api.remote_addr - interfaces = self.api.plshell(self.api.plauth, {'ip': ip}, ['node_id'])i + interfaces = self.api.plshell(self.api.plauth, {'ip': ip}, ['node_id']) if not interfaces: raise NonExistingRecord("no such ip %(ip)s" % locals()) nodes = self.api.plshell(self.api.plauth, [interfaces[0]['node_id']], ['node_id', 'hostname'])