Skip to content

Commit

Permalink
Remove __unicode__ method
Browse files Browse the repository at this point in the history
  • Loading branch information
remram44 committed Aug 11, 2021
1 parent bfd229c commit 2a015f2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions reprozip-core/reprozip_core/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,8 @@ def add_file(self, file_):
def __repr__(self):
return '<Package %r (%r)>' % (self.name, self.version)

def __unicode__(self):
def __str__(self):
return '%s (%s)' % (self.name, self.version)
__str__ = __unicode__


# Pack format history:
Expand Down

0 comments on commit 2a015f2

Please sign in to comment.