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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user