Merge "Pass timeout as kwarg"
This commit is contained in:
commit
c581f85b7f
@ -138,7 +138,8 @@ class GreenDBConnection(sqlite3.Connection):
|
||||
timeout = BROKER_TIMEOUT
|
||||
self.timeout = timeout
|
||||
self.db_file = database
|
||||
super(GreenDBConnection, self).__init__(database, 0, *args, **kwargs)
|
||||
super(GreenDBConnection, self).__init__(
|
||||
database, timeout=0, *args, **kwargs)
|
||||
|
||||
def cursor(self, cls=None):
|
||||
if cls is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user