Case (2) in usercast.py

This commit is contained in:
Federico Di Gregorio 2005-02-28 16:03:22 +00:00
parent cd672525e1
commit 0d4db2ec55

View File

@ -65,6 +65,7 @@ class Rect(object):
def __conform__(self, proto):
"""This is a terrible hack, just ignore proto and return self."""
if proto == psycopg.extensions.ISQLQuote:
return self
def from_points(self, x0, y0, x1, y1):