fixed issue 1819:Datastore reconnect problem, thanks Alan

This commit is contained in:
mdipierro
2013-12-17 16:40:44 -06:00
parent 27cbd242b2
commit a4416bd11f
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.8.2-stable+timestamp.2013.12.16.21.55.21
Version 2.8.2-stable+timestamp.2013.12.17.16.39.21
+3 -1
View File
@@ -703,7 +703,7 @@ class BaseAdapter(ConnectionPool):
can_select_for_update = True
dbpath = None
folder = None
connector = lambda dbpath, adapter_args: None # __init__ should override this
connector = lambda *args, **kwargs: None # __init__ should override this
TRUE = 'T'
FALSE = 'F'
@@ -4809,6 +4809,8 @@ class GoogleDatastoreAdapter(NoSQLAdapter):
uploads_in_blob = True
types = {}
# reconnect is not required for Datastore dbs
reconnect = lambda *args, **kwargs: None
def file_exists(self, filename): pass
def file_open(self, filename, mode='rb', lock=True): pass