Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2307)

Unified Diff: appengine/findit/model/versioned_config.py

Issue 2345093002: [Findit] Extending versioned_model.py to support versioning multiple entities of the same class. (Closed)
Patch Set: Ignore this patch, uploaded unrelated change to wrong branch Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/findit/model/test/versioned_model_test.py ('k') | appengine/findit/model/versioned_model.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/model/versioned_config.py
diff --git a/appengine/findit/model/versioned_config.py b/appengine/findit/model/versioned_config.py
index 139c97bfbe00e3bdb8e88a38b3e8ed84b58d9fa1..fe5e3546158f3aa745057e566ff86c7d9c2f71e2 100644
--- a/appengine/findit/model/versioned_config.py
+++ b/appengine/findit/model/versioned_config.py
@@ -26,7 +26,7 @@ class VersionedConfig(VersionedModel):
@classmethod
def Get(cls, version=None):
"""Returns the version of the config entity, the latest if not specified."""
- config_data = cls.GetVersion(version)
+ config_data = cls.GetVersion(version=version)
return config_data or cls() if version is None else config_data
def Update(self, user, is_admin, **kwargs):
« no previous file with comments | « appengine/findit/model/test/versioned_model_test.py ('k') | appengine/findit/model/versioned_model.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698