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:
a889b33
)
Add header
author
Andy Bavier
<acb@cs.princeton.edu>
Wed, 27 Jan 2010 21:53:28 +0000
(21:53 +0000)
committer
Andy Bavier
<acb@cs.princeton.edu>
Wed, 27 Jan 2010 21:53:28 +0000
(21:53 +0000)
sfa/rspecs/aggregates/vini/utils.py
patch
|
blob
|
history
diff --git
a/sfa/rspecs/aggregates/vini/utils.py
b/sfa/rspecs/aggregates/vini/utils.py
index
495256e
..
c9ca7da
100644
(file)
--- a/
sfa/rspecs/aggregates/vini/utils.py
+++ b/
sfa/rspecs/aggregates/vini/utils.py
@@
-627,7
+627,8
@@
class Topology:
for link in self.sitelinks:
link.toxml(xml)
- return str(xml)
+ header = '<?xml version="1.0"?>\n'
+ return header + str(xml)
"""
Create a dictionary of site objects keyed by site ID