From: Faiyaz Ahmed Date: Wed, 15 Apr 2009 02:30:35 +0000 (+0000) Subject: Remove PLC fields from dump. ...this is a hack :-( X-Git-Tag: sfa-0.9-0@14641~465 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=2b82e39accddbe15c4964b2f5d8ffdd510dd4cac;p=sfa.git Remove PLC fields from dump. ...this is a hack :-( --- diff --git a/geni/util/record.py b/geni/util/record.py index 6e82d9fa..3fb18fc4 100644 --- a/geni/util/record.py +++ b/geni/util/record.py @@ -378,7 +378,8 @@ class GeniRecord: pl_info = getattr(self, "pl_info", {}) if pl_info: - for key in pl_info.keys(): + for key in (s for s in pl_info.keys()\ + if (s.endswith("_ids") or s.endswith("_id")) == False): print " ", key, ":", pl_info[key]