git://git.onelab.eu
/
myplc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e57cbd
)
remove leading/trailing whitespace from values
author
Tony Mack
<tmack@cs.princeton.edu>
Wed, 17 Feb 2010 18:36:28 +0000
(18:36 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Wed, 17 Feb 2010 18:36:28 +0000
(18:36 +0000)
support-scripts/gen-sites-xml.py
patch
|
blob
|
history
diff --git
a/support-scripts/gen-sites-xml.py
b/support-scripts/gen-sites-xml.py
index
13de255
..
bfbcd6f
100755
(executable)
--- a/
support-scripts/gen-sites-xml.py
+++ b/
support-scripts/gen-sites-xml.py
@@
-147,7
+147,7
@@
class PrettyXMLGenerator(XMLGenerator):
self.write('<' + name)
for (name, value) in attrs.items():
- self.write(' %s=%s' % (name, quoteattr(value)))
+ self.write(' %s=%s' % (name, quoteattr(value
.strip()
)))
self.write('/>')
if newl: