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
(parent:
01ce174
)
added attributes_list() method
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Tue, 5 Jul 2011 12:10:52 +0000
(08:10 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Tue, 5 Jul 2011 12:10:52 +0000
(08:10 -0400)
sfa/rspecs/pg_rspec.py
patch
|
blob
|
history
diff --git
a/sfa/rspecs/pg_rspec.py
b/sfa/rspecs/pg_rspec.py
index
a21a2ab
..
6ee30db
100755
(executable)
--- a/
sfa/rspecs/pg_rspec.py
+++ b/
sfa/rspecs/pg_rspec.py
@@
-98,6
+98,13
@@
class PGRSpec(RSpec):
def get_slice_attributes(self, network=None):
return []
+ def attributes_list(self, elem):
+ opts = []
+ if elem is not None:
+ for e in elem:
+ opts.append((e.tag, e.text))
+ return opts
+
def get_default_sliver_attributes(self, network=None):
return []