Simplify Boolean

This commit is contained in:
Hugo 2017-11-28 10:25:09 +02:00
parent 1f2afd3e35
commit a7d5eaec24

View File

@ -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'