mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-26 02:43:43 +03:00
Case (2) in usercast.py
This commit is contained in:
parent
cd672525e1
commit
0d4db2ec55
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user