From: Tony Mack Date: Thu, 15 Mar 2012 17:27:38 +0000 (-0400) Subject: fix AttributeError X-Git-Tag: sfa-2.1-4~45 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=9a2c85c563b17698fa927ec493dad5cbeb545a65;p=sfa.git fix AttributeError --- diff --git a/sfa/openstack/osaggregate.py b/sfa/openstack/osaggregate.py index a40abc03..d9efdc5f 100644 --- a/sfa/openstack/osaggregate.py +++ b/sfa/openstack/osaggregate.py @@ -259,9 +259,6 @@ class OSAggregate: def delete_instances(self, project_name): - project = self.driver.shell.get_project(project_name) - if not project: - return 1 instances = self.driver.shell.db.instance_get_all_by_project(project_name) security_group_manager = SecurityGroup(self) for instance in instances: