From: Tony Mack Date: Mon, 3 Dec 2012 14:50:16 +0000 (-0500) Subject: fix AttributeError X-Git-Tag: sfa-3.0-0~71 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8d0d538114ada059a6bbcb7f65c507492e4ac21d;p=sfa.git fix AttributeError --- diff --git a/sfa/planetlab/plaggregate.py b/sfa/planetlab/plaggregate.py index cf3e10bf..324c07c6 100644 --- a/sfa/planetlab/plaggregate.py +++ b/sfa/planetlab/plaggregate.py @@ -376,7 +376,7 @@ class PlAggregate: geni_sliver = self.rspec_node_to_geni_sliver(rspec_node) sliver_allocation_record = sliver_allocation_dict.get(sliver['sliver_id']) if sliver_allocation_record: - sliver_allocation = sliver_allocation.allocation_state + sliver_allocation = sliver_allocation_record.allocation_state else: sliver_allocation = 'geni_unallocated' geni_sliver['geni_allocation_status'] = sliver_allocation