Skip to content

Commit

Permalink
Remove dbschema arg in AsyncPG
Browse files Browse the repository at this point in the history
  • Loading branch information
Xi-Plus committed Jan 25, 2020
1 parent e3ad3c5 commit 1e3f62e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pg.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ def _init_member(self):
self.statusmessage = ''

class AsyncPG:
def __init__(self,dbname,dbuser,dbpasswd,
dbschema = 'public',dbtz = '+0'):
def __init__(self,dbname,dbuser,dbpasswd,dbtz = '+0'):

self.INITCONN_SHARE = 4
self.INITCONN_FREE = 16
Expand All @@ -119,7 +118,7 @@ def __init__(self,dbname,dbuser,dbpasswd,
self._dbname = dbname
self._dbuser = dbuser
self._dbpasswd = dbpasswd
self._dbschema = dbschema
self._dbschema = 'public'
self._dbtz = dbtz
self._share_connpool = []
self._free_connpool = []
Expand Down

0 comments on commit 1e3f62e

Please sign in to comment.