summaryrefslogtreecommitdiffstats
path: root/utils_xml.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils_xml.py')
-rw-r--r--utils_xml.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils_xml.py b/utils_xml.py
index c10e3bc..9f08893 100644
--- a/utils_xml.py
+++ b/utils_xml.py
@@ -21,6 +21,11 @@ class UtilsXmlError(ClufterPlainError):
pass
+def squote(s):
+ """Simple quote"""
+ return "'" + s + "'"
+
+
@selfaware
def rng_pivot(me, et, tag):
"""Given Relax NG grammar etree as `et`, change start tag (in situ!)"""