mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-08-04 04:10:09 +03:00
Merge 605118acd1
into 767118467f
This commit is contained in:
commit
5db2a89a8e
|
@ -144,6 +144,9 @@ class NoneAdapter(object):
|
||||||
def getquoted(self, _null=b"NULL"):
|
def getquoted(self, _null=b"NULL"):
|
||||||
return _null
|
return _null
|
||||||
|
|
||||||
|
def __str__(self):
|
||||||
|
return str(self.getquoted())
|
||||||
|
|
||||||
|
|
||||||
def make_dsn(dsn=None, **kwargs):
|
def make_dsn(dsn=None, **kwargs):
|
||||||
"""Convert a set of keywords into a connection strings."""
|
"""Convert a set of keywords into a connection strings."""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user