summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2013-03-10 12:50:40 -0400
committerMonty Taylor <mordred@inaugust.com>2013-03-10 13:31:03 -0400
commitf15e9db5f598b0d3cdfc57b976c156f525b6ad62 (patch)
tree96c5f9adbcc066a8487688a551f4fa6e69f7b014
parent890d9685cdba0cfc8ca2b86c8981b272f3bc16aa (diff)
downloadpbr-f15e9db5f598b0d3cdfc57b976c156f525b6ad62.tar.gz
Fix two minor style things.
There is a pep8 indentation issue and an unused import. Fix them here so I can verify that my later patches don't regress and become unhappy.
-rw-r--r--pbr/d2to1/core.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pbr/d2to1/core.py b/pbr/d2to1/core.py
index 6c93f2b..3c9cd3a 100644
--- a/pbr/d2to1/core.py
+++ b/pbr/d2to1/core.py
@@ -7,7 +7,7 @@ from distutils.errors import DistutilsFileError, DistutilsSetupError
from setuptools.dist import _get_unpatched
from .extern import six
-from .util import DefaultGetDict, IgnoreDict, cfg_to_args, resolve_name
+from .util import DefaultGetDict, IgnoreDict, cfg_to_args
_Distribution = _get_unpatched(_Distribution)
@@ -47,8 +47,8 @@ def d2to1(dist, attr, value):
except:
e = sys.exc_info()[1]
raise DistutilsSetupError(
- 'Error parsing %s: %s: %s' % (path, e.__class__.__name__,
- six.u(e)))
+ 'Error parsing %s: %s: %s' % (path, e.__class__.__name__,
+ six.u(e)))
# Repeat some of the Distribution initialization code with the newly
# provided attrs