From: Salvatore Orlando Date: Thu, 11 Aug 2011 22:13:43 +0000 (+0100) Subject: FIxing missing 'output' variable @ line 243 (syntax error) X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=570c35e60d05b84f7936a2c1d05b817e59b50d91;p=openstack-build%2Fneutron-build.git FIxing missing 'output' variable @ line 243 (syntax error) Fixing main as the plugin was still being retrieved with get_manager. That method is now get_plugin --- diff --git a/quantum/cli.py b/quantum/cli.py index a015565d8..369fc6eed 100644 --- a/quantum/cli.py +++ b/quantum/cli.py @@ -240,7 +240,7 @@ def api_plug_iface(client, *args): res = client.attach_resource(nid, pid, data) except Exception, e: LOG.error("Failed to plug iface \"%s\" to port \"%s\": %s" % (vid, - pid, output)) + pid, e)) return LOG.debug(res) print "Plugged interface \"%s\" to port:%s on network:%s" % (vid, pid, nid) @@ -386,6 +386,6 @@ if __name__ == "__main__": commands[cmd]["api_func"](client, *args) else: quantum = QuantumManager() - manager = quantum.get_manager() + manager = quantum.get_plugin() commands[cmd]["func"](manager, *args) sys.exit(0)