mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-10-24 20:41:07 +03:00
Simplify Boolean
This commit is contained in:
parent
53c1c5dcc1
commit
2f3c233f38
|
|
@ -6,7 +6,7 @@ class B(object):
|
|||
print "ga called", attr
|
||||
return object.__getattribute__(self, attr)
|
||||
def _sqlquote(self):
|
||||
if self._o == True:
|
||||
if self._o:
|
||||
return 'It is True'
|
||||
else:
|
||||
return 'It is False'
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user