Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #336 from dephell/fix-double-extra
Browse files Browse the repository at this point in the history
do not set extras twice
  • Loading branch information
orsinium committed Dec 17, 2019
2 parents 27bd713 + 7b16f5c commit ea37d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dephell/models/dependency.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def copy(self) -> 'Dependency':
# magic methods

def __str__(self) -> str:
result = self.name
result = self.base_name
if self.extra:
result += '[{}]'.format(self.extra)
if self.constraint:
Expand Down

0 comments on commit ea37d7f

Please sign in to comment.