From: Andy Bavier Date: Tue, 12 Jun 2012 20:31:08 +0000 (-0400) Subject: Bug fix X-Git-Tag: sfa-2.1-12~60 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=9b91992f38e1f074845c75b29c107737fef5c6bc;p=sfa.git Bug fix --- diff --git a/sfa/openstack/osaggregate.py b/sfa/openstack/osaggregate.py index def366ff..25aa549d 100644 --- a/sfa/openstack/osaggregate.py +++ b/sfa/openstack/osaggregate.py @@ -177,7 +177,7 @@ class OSAggregate: username = Xrn(user['urn']).get_leaf() try: self.driver.shell.auth_manager.get_user(username) - except nova.exception.UserNotFound: + except UserNotFound: self.driver.shell.auth_manager.create_user(username) self.verify_user_keys(username, user['keys'], options)