mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 08:56:34 +03:00
Case (2) in usercast.py
This commit is contained in:
parent
cd672525e1
commit
0d4db2ec55
|
@ -65,7 +65,8 @@ class Rect(object):
|
|||
|
||||
def __conform__(self, proto):
|
||||
"""This is a terrible hack, just ignore proto and return self."""
|
||||
return self
|
||||
if proto == psycopg.extensions.ISQLQuote:
|
||||
return self
|
||||
|
||||
def from_points(self, x0, y0, x1, y1):
|
||||
"""Init the rectangle from points."""
|
||||
|
|
Loading…
Reference in New Issue
Block a user