Mongo removal: Remove the validate=True arg to obj.save()

all callers were forced to use validate=True anyway. So
remove this useless stuff.
This commit is contained in:
Elrond
2012-12-23 21:01:13 +01:00
parent 1eac751bd2
commit b39d1f2351
6 changed files with 9 additions and 10 deletions

View File

@@ -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()