From cd48d8ab4e324b668bddceacf3256535e97f478e Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Thu, 25 Feb 2016 13:52:19 -0500 Subject: [PATCH] Use a Python 2.6 friendly string format syntax. https://pulp.plan.io/issues/1719 fixes #1719 --- plugins/pulp_python/plugins/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pulp_python/plugins/models.py b/plugins/pulp_python/plugins/models.py index ed0dd12a..ef54c612 100644 --- a/plugins/pulp_python/plugins/models.py +++ b/plugins/pulp_python/plugins/models.py @@ -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)