Skip to content

Commit

Permalink
Remove unused local var
Browse files Browse the repository at this point in the history
  • Loading branch information
jdufresne committed Apr 24, 2019
1 parent 01513c1 commit c0e3d64
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions taggit/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,13 +423,12 @@ def __get__(self, instance, model):
"%s objects need to have a primary key value "
"before you can access their tags." % model.__name__
)
manager = self.manager(
return self.manager(
through=self.through,
model=model,
instance=instance,
prefetch_cache_name=self.name,
)
return manager

def deconstruct(self):
"""
Expand Down

0 comments on commit c0e3d64

Please sign in to comment.