mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-29 12:23:42 +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):
|
def __conform__(self, proto):
|
||||||
"""This is a terrible hack, just ignore proto and return self."""
|
"""This is a terrible hack, just ignore proto and return self."""
|
||||||
|
if proto == psycopg.extensions.ISQLQuote:
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def from_points(self, x0, y0, x1, y1):
|
def from_points(self, x0, y0, x1, y1):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user