From 040d9d5f5ab8e60913ff4684977a56580bd551ec Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Mon, 25 Oct 2010 15:00:33 -0400 Subject: [PATCH] =?UTF-8?q?Fix=20problem=20found=20by=20Alex=20Schr=C3=B6d?= =?UTF-8?q?er:=20http://lists.planetplanet.org/archives/devel/2010-October?= =?UTF-8?q?/002164.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- planet/shell/xslt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planet/shell/xslt.py b/planet/shell/xslt.py index 0b6579f..24173ea 100644 --- a/planet/shell/xslt.py +++ b/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