From fe14352c6d950390ddb76478d879f22359769267 Mon Sep 17 00:00:00 2001 From: Dan McDougall Date: Tue, 3 Nov 2015 08:32:31 -0500 Subject: [PATCH] gateone.js: Fixed a bug (typo) in GateOne.Storage.dbObject where retrying to load the DB data (if it took too long to load--which is an obscure/rare occurrence) would result in an exception. --- gateone/__init__.py | 2 +- gateone/core/server.py | 2 +- gateone/static/gateone.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gateone/__init__.py b/gateone/__init__.py index db0776eb..3dd3e9bd 100644 --- a/gateone/__init__.py +++ b/gateone/__init__.py @@ -3,7 +3,7 @@ __version_info__ = (1, 2, 0) __license__ = "AGPLv3" # ...or proprietary (see LICENSE.txt) __author__ = 'Dan McDougall ' -__commit__ = "20150710195622" # Gets replaced by git (holds the date/time) +__commit__ = "20151103081614" # Gets replaced by git (holds the date/time) import os GATEONE_DIR = os.path.dirname(os.path.abspath(__file__)) diff --git a/gateone/core/server.py b/gateone/core/server.py index 6b15bd30..7f39f0fa 100755 --- a/gateone/core/server.py +++ b/gateone/core/server.py @@ -19,7 +19,7 @@ } } __author__ = 'Dan McDougall ' -__commit__ = "20150710195622" # Gets replaced by git (holds the date/time) +__commit__ = "20151103081614" # Gets replaced by git (holds the date/time) # NOTE: Docstring includes reStructuredText markup for use with Sphinx. __doc__ = '''\ diff --git a/gateone/static/gateone.js b/gateone/static/gateone.js index 95c39b26..eb156ba3 100644 --- a/gateone/static/gateone.js +++ b/gateone/static/gateone.js @@ -82,7 +82,7 @@ The base object for all Gate One modules/plugins. */ GateOne.__name__ = "GateOne"; GateOne.__version__ = "1.2"; -GateOne.__commit__ = "20150710195622"; +GateOne.__commit__ = "20151103081614"; GateOne.__repr__ = function () { return "[" + this.__name__ + " " + this.__version__ + "]"; }; @@ -5310,7 +5310,7 @@ GateOne.Storage.dbObject = function(DB) { return; } setTimeout(function() { - go.Storage.get(storeName, key, callback); + self.get(storeName, key, callback); }, 10); go.Storage.failCount[DB] += 1; return;