git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
53b94f5
)
Remove PLC fields from dump. ...this is a hack :-(
author
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Wed, 15 Apr 2009 02:30:35 +0000
(
02:30
+0000)
committer
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Wed, 15 Apr 2009 02:30:35 +0000
(
02:30
+0000)
geni/util/record.py
patch
|
blob
|
history
diff --git
a/geni/util/record.py
b/geni/util/record.py
index
6e82d9f
..
3fb18fc
100644
(file)
--- 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:
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]
print " ", key, ":", pl_info[key]