From: Tony Mack Date: Tue, 11 Dec 2012 04:01:10 +0000 (-0500) Subject: Fix invalid argument bug X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=b094154064c419af1595a294253bec1241a7bc4a;p=plcapi.git Fix invalid argument bug --- diff --git a/PLC/Methods/AddRole.py b/PLC/Methods/AddRole.py index f9ea746..91d7b0d 100644 --- a/PLC/Methods/AddRole.py +++ b/PLC/Methods/AddRole.py @@ -22,7 +22,7 @@ class AddRole(Method): def call(self, auth, name): - role = Roles(self.api, {'name': name}) + role = Role(self.api, {'name': name}) role.sync(insert=True) #self.api.client_shell.keystone.roles.create(name=name) return 1