mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-05-02 08:04:47 +00:00
Remove dead code branch.
This commit is contained in:
parent
67ec6e4b53
commit
9786672361
1 changed files with 1 additions and 2 deletions
|
|
@ -120,8 +120,7 @@ class MonitorField(models.DateTimeField):
|
|||
|
||||
def deconstruct(self):
|
||||
name, path, args, kwargs = super(MonitorField, self).deconstruct()
|
||||
if self.monitor is not None:
|
||||
kwargs['monitor'] = self.monitor
|
||||
kwargs['monitor'] = self.monitor
|
||||
if self.when is not None:
|
||||
kwargs['when'] = self.when
|
||||
return name, path, args, kwargs
|
||||
|
|
|
|||
Loading…
Reference in a new issue