summaryrefslogtreecommitdiff
path: root/pbr/d2to1/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'pbr/d2to1/core.py')
-rw-r--r--pbr/d2to1/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbr/d2to1/core.py b/pbr/d2to1/core.py
index 3c9cd3a..cb343ba 100644
--- a/pbr/d2to1/core.py
+++ b/pbr/d2to1/core.py
@@ -48,7 +48,7 @@ def d2to1(dist, attr, value):
e = sys.exc_info()[1]
raise DistutilsSetupError(
'Error parsing %s: %s: %s' % (path, e.__class__.__name__,
- six.u(e)))
+ six.u(str(e))))
# Repeat some of the Distribution initialization code with the newly
# provided attrs