summaryrefslogtreecommitdiff
path: root/examples/usercast.py
diff options
context:
space:
mode:
authorFederico Di Gregorio <fog@initd.org>2005-02-28 09:15:56 +0000
committerFederico Di Gregorio <fog@initd.org>2005-02-28 09:15:56 +0000
commitab02141d486b6fba9fac77a2cb32d5bc3ddaaa1c (patch)
treeae6aaa87ce92073325fc64fc7f8f1090e1b3914f /examples/usercast.py
parent55744b00cd48bb00c7ab777fd3b9ae53d8bb1b03 (diff)
downloadpsycopg2-ab02141d486b6fba9fac77a2cb32d5bc3ddaaa1c.tar.gz
Temporary hack to make the AsIs adapter work.
Diffstat (limited to 'examples/usercast.py')
-rw-r--r--examples/usercast.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/usercast.py b/examples/usercast.py
index f5b569c..2711709 100644
--- a/examples/usercast.py
+++ b/examples/usercast.py
@@ -59,6 +59,7 @@ class Rect:
def __conform__(self, proto):
"""This is a terrible hack, just ignore proto and return self."""
+ print "CONFORMIG!"
return self
def from_points(self, x0, y0, x1, y1):