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.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/python/skytools/quoting.py b/python/skytools/quoting.py
index 7df56fee..51e91905 100644
--- a/python/skytools/quoting.py
+++ b/python/skytools/quoting.py
@@ -4,10 +4,7 @@
import urllib, re
-try:
- from psycopg2.extensions import QuotedString
-except:
- from psycopg import QuotedString
+from skytools.psycopgwrapper import QuotedString
__all__ = [
"quote_literal", "quote_copy", "quote_bytea_raw",