summaryrefslogtreecommitdiff
path: root/python/skytools/quoting.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/skytools/quoting.py')
-rw-r--r--python/skytools/quoting.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/skytools/quoting.py b/python/skytools/quoting.py
index d04394cb..1a144867 100644
--- a/python/skytools/quoting.py
+++ b/python/skytools/quoting.py
@@ -76,6 +76,8 @@ def quote_ident(s):
if _ident_bad.search(s) or s in _ident_kwmap:
s = '"%s"' % s.replace('"', '""')
+ elif not s:
+ return '""'
return s
def quote_fqident(s):