fix NameError
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Mon, 8 Apr 2013 04:35:50 +0000 (00:35 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Mon, 8 Apr 2013 04:35:50 +0000 (00:35 -0400)
plstackapi/planetstack/api/roles.py

index 12a21b8..5d1bfaf 100644 (file)
@@ -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