add a __str__ method to NoneAdapter

This commit is contained in:
Ryan P. Kelly 2016-07-15 14:48:07 -04:00
parent 90ee1ebba5
commit 605118acd1

View File

@ -154,6 +154,9 @@ class NoneAdapter(object):
def getquoted(self, _null=b("NULL")):
return _null
def __str__(self):
return str(self.getquoted())
def make_dsn(dsn=None, **kwargs):
"""Convert a set of keywords into a connection strings."""