diff options
author | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2012-12-23 21:01:13 +0100 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2012-12-24 00:07:24 +0100 |
commit | b39d1f2351352fca21666137fa137eb64926a036 (patch) | |
tree | 9ec1dc3611deeba908f907f2ef27effc13424816 /mediagoblin/db/sql/base.py | |
parent | 1eac751bd2b3ecf4f9bfffe101c3f16f1e49eba6 (diff) | |
download | mediagoblin-b39d1f2351352fca21666137fa137eb64926a036.tar.lz mediagoblin-b39d1f2351352fca21666137fa137eb64926a036.tar.xz mediagoblin-b39d1f2351352fca21666137fa137eb64926a036.zip |
Mongo removal: Remove the validate=True arg to obj.save()
all callers were forced to use validate=True anyway. So
remove this useless stuff.
Diffstat (limited to 'mediagoblin/db/sql/base.py')
-rw-r--r-- | mediagoblin/db/sql/base.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mediagoblin/db/sql/base.py b/mediagoblin/db/sql/base.py index fbbac6f9..2dceca75 100644 --- a/mediagoblin/db/sql/base.py +++ b/mediagoblin/db/sql/base.py @@ -61,8 +61,7 @@ class GMGTableBase(object): # The key *has* to exist on sql. return getattr(self, key) - def save(self, validate=True): - assert validate + def save(self): sess = object_session(self) if sess is None: sess = Session() |