From: Tony Mack Date: Mon, 8 Apr 2013 04:35:50 +0000 (-0400) Subject: fix NameError X-Git-Tag: 1.0~238 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=198027cb818df8f99662f78e0eeb79a9267dcf8e;p=plstackapi.git fix NameError --- diff --git a/plstackapi/planetstack/api/roles.py b/plstackapi/planetstack/api/roles.py index 12a21b8..5d1bfaf 100644 --- a/plstackapi/planetstack/api/roles.py +++ b/plstackapi/planetstack/api/roles.py @@ -4,9 +4,9 @@ from plstackapi.planetstack.models import * def auth_check(auth): - client = OpenStackShell(username=auth['Username'], - password=auth['AuthMethod'], - tenant=auth['LoginBase']) + client = OpenStackDriver(username=auth['Username'], + password=auth['AuthMethod'], + tenant=auth['LoginBase']) client.authenticate() return client