summaryrefslogtreecommitdiff
path: root/python/skytools/quoting.py
diff options
context:
space:
mode:
authorMarko Kreen2007-07-25 09:58:26 +0000
committerMarko Kreen2007-07-25 09:58:26 +0000
commit1fa22291f659bae109b603f67274fc3be615fda7 (patch)
treeab185e77ac54bd262631913a7a33c060b19be784 /python/skytools/quoting.py
parent0215847967da11be1776dba2a5bc0c7fa78f18f6 (diff)
split identifiers on first dot only
Diffstat (limited to 'python/skytools/quoting.py')
-rw-r--r--python/skytools/quoting.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/skytools/quoting.py b/python/skytools/quoting.py
index 51e91905..e80d5457 100644
--- a/python/skytools/quoting.py
+++ b/python/skytools/quoting.py
@@ -100,7 +100,7 @@ def quote_fqident(s):
The '.' is taken as namespace separator and
all parts are quoted separately
"""
- return '.'.join(map(quote_ident, s.split('.')))
+ return '.'.join(map(quote_ident, s.split('.', 1)))
#
# quoting for JSON strings