diff options
author | Monty Taylor <mordred@inaugust.com> | 2013-03-10 12:50:40 -0400 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2013-03-10 13:31:03 -0400 |
commit | f15e9db5f598b0d3cdfc57b976c156f525b6ad62 (patch) | |
tree | 96c5f9adbcc066a8487688a551f4fa6e69f7b014 | |
parent | 890d9685cdba0cfc8ca2b86c8981b272f3bc16aa (diff) | |
download | pbr-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.py | 6 |
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 |