Remove PLC fields from dump. ...this is a hack :-(
authorFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Wed, 15 Apr 2009 02:30:35 +0000 (02:30 +0000)
committerFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Wed, 15 Apr 2009 02:30:35 +0000 (02:30 +0000)
geni/util/record.py

index 6e82d9f..3fb18fc 100644 (file)
@@ -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]