summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2013-03-13 13:40:24 -0700
committerMonty Taylor <mordred@inaugust.com>2013-03-13 13:40:24 -0700
commitba33408cb532c772b1723f71118ce63c4808959e (patch)
tree32b71f315ace999674dcbaf5f01dc9445a0f34d8
parent4ec8bb6e292f90761e2899cadcd82086805fbee6 (diff)
downloadpbr-ba33408cb532c772b1723f71118ce63c4808959e.tar.gz
Remove extra complexity of six.u wrapper.
-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 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