Fiddle with whitespace

This commit is contained in:
Adrian Sampson 2016-02-28 14:18:50 -08:00
parent 7c30f56271
commit ad1bab63ed

View file

@ -201,7 +201,8 @@ class Model(object):
"""
if not self._db:
raise ValueError(
u'{0} has no database'.format(type(self).__name__))
u'{0} has no database'.format(type(self).__name__)
)
if need_id and not self.id:
raise ValueError(u'{0} has no id'.format(type(self).__name__))