Skip to content

Commit

Permalink
Use a Python 2.6 friendly string format syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
Randy Barlow committed Feb 25, 2016
1 parent 6d78421 commit cd48d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/pulp_python/plugins/models.py
Expand Up @@ -180,4 +180,4 @@ def __repr__(self):
:return: A string representing self.
:rtype: basestring
"""
return 'Package(name={}, version={})'.format(self.name, self.version)
return 'Package(name={0}, version={1})'.format(self.name, self.version)

0 comments on commit cd48d8a

Please sign in to comment.