Permalink
Browse files

Fix problem found by Alex Schröder:

  • Loading branch information...
1 parent 62d3e68 commit 635174e3d2b5f1721e5a3b2471097f507d3042a4 @rubys committed with mortenf Oct 25, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 planet/shell/xslt.py
@@ -8,7 +8,7 @@ def quote(string, apos):
if string.find("'")<0:
return "'" + string + "'"
- elif string.find("'")<0:
+ elif string.find('"')<0:
return '"' + string + '"'
else:
# unclear how to quote strings with both types of quotes for libxslt

0 comments on commit 635174e

Please sign in to comment.