Skip to content

Commit

Permalink
Don't alias to unused "path" variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
lamby committed Sep 24, 2019
1 parent 2c36081 commit 8fdc3d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_enumfield/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def clone(self):
return models.IntegerField(*args, **kwargs)

def deconstruct(self):
name, path, args, kwargs = super(EnumField, self).deconstruct()
name, _, args, kwargs = super(EnumField, self).deconstruct()

# If there is a callable default, override it and set the first item
# from the enum. This is to stop randomised defaults causing unstable
Expand Down

0 comments on commit 8fdc3d1

Please sign in to comment.