[gen] Minor updates.
This commit is contained in:
parent
af7a775570
commit
f91972c21a
2 changed files with 3 additions and 3 deletions
|
@ -687,7 +687,7 @@ class Field:
|
|||
# because it can be raised as the result of reindexing
|
||||
# the object in situations that are not foreseen by
|
||||
# method in self.default.
|
||||
return None
|
||||
return
|
||||
else:
|
||||
return self.default
|
||||
return value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue