From 48f8ba60de975b17022096814eb8d8173eccc07a Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Thu, 9 Apr 2009 12:25:09 +0300 Subject: Import fixes from 2.1-stable. - make skytools pkg depend on rsync - missing headers in Postgres modules - quoting for numeric ident --- python/skytools/quoting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/skytools/quoting.py') diff --git a/python/skytools/quoting.py b/python/skytools/quoting.py index 9d281254..ce860040 100644 --- a/python/skytools/quoting.py +++ b/python/skytools/quoting.py @@ -66,7 +66,7 @@ _ident_kwmap = { "errors":1, } -_ident_bad = re.compile(r"[^a-z0-9_]") +_ident_bad = re.compile(r"[^a-z0-9_]|^[0-9]") def quote_ident(s): """Quote SQL identifier. -- cgit v1.2.3