From: Tony Mack Date: Fri, 3 Apr 2009 02:15:42 +0000 (+0000) Subject: in list(), no longer check if PlanetLab record exists X-Git-Tag: sfa-0.9-0@14641~526 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=ca070e405851d591db34e47bc9669973756639ec;p=sfa.git in list(), no longer check if PlanetLab record exists --- diff --git a/geni/registry.py b/geni/registry.py index bcd1e8d3..7308d533 100644 --- a/geni/registry.py +++ b/geni/registry.py @@ -712,24 +712,7 @@ class Registry(GeniServer): records = table.list() - good_records = [] - for record in records: - try: - self.fill_record_info(record) - good_records.append(record) - except PlanetLabRecordDoesNotExist: - # silently drop the ones that are missing in PL. - # is this the right thing to do? - print "ignoring geni record ", record.get_name(), " because pl record does not exist" - table.remove(record) - - dicts = [] - for record in good_records: - dicts.append(record.as_dict()) - - return dicts - - return dict_list + return records ## # Resolve a record. This is an internal version of the Resolve API call