diff options
-rw-r--r-- | pbr/d2to1/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbr/d2to1/core.py b/pbr/d2to1/core.py index cb343ba..929f575 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(str(e)))) + e.args[0])) # Repeat some of the Distribution initialization code with the newly # provided attrs |