diff options
| author | pumazi <devnull@localhost> | 2010-03-30 08:59:48 -0400 |
|---|---|---|
| committer | pumazi <devnull@localhost> | 2010-03-30 08:59:48 -0400 |
| commit | abeec7a60e34a1c7e68c729e3d47c4c473a37cba (patch) | |
| tree | b3ba543252470c649d1ae725d9c5988cbbc85f7c /src/distutils2/mkpkg.py | |
| parent | 34c80511a431c52b54a9e5548185f4f48de1a09e (diff) | |
| download | disutils2-abeec7a60e34a1c7e68c729e3d47c4c473a37cba.tar.gz | |
Cleaning up a few indentations and making a few lines pep8 length compliant.
Diffstat (limited to 'src/distutils2/mkpkg.py')
| -rwxr-xr-x | src/distutils2/mkpkg.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/distutils2/mkpkg.py b/src/distutils2/mkpkg.py index c22cba8..dd95b6a 100755 --- a/src/distutils2/mkpkg.py +++ b/src/distutils2/mkpkg.py @@ -73,7 +73,7 @@ human language, programming language, user interface, etc... } troveList = [ - 'Development Status :: 1 - Planning', + 'Development Status :: 1 - Planning', 'Development Status :: 2 - Pre-Alpha', 'Development Status :: 3 - Alpha', 'Development Status :: 4 - Beta', @@ -701,7 +701,8 @@ class SetupClass: for compareKey in ('author', 'author_email'): if self.lookupOption(compareKey) != self.setupData[compareKey]: valuesDifferent = True - self.config.set('DEFAULT', compareKey, self.setupData[compareKey]) + self.config.set('DEFAULT', compareKey, + self.setupData[compareKey]) if not valuesDifferent: return @@ -780,7 +781,7 @@ class SetupClass: helpText['trove_generic']) != 'y': return self.walkTrove(classifierDict, [troveDict], '') - + def walkTrove(self, classifierDict, trovePath, desc): trove = trovePath[-1] @@ -835,7 +836,8 @@ class SetupClass: try: return except IndexError: - print 'ERROR: Invalid selection, type a number from the list above.' + print("ERROR: Invalid selection, type a number from the list " + "above.") def setTroveDevStatus(self, classifierDict): @@ -865,7 +867,8 @@ Status''', required = False) classifierDict[key] = 1 return except KeyError: - print 'ERROR: Invalid selection, type a single digit number.' + print("ERROR: Invalid selection, type a single digit " + "number.") def _dotted_packages(self, data): packages = sorted(data.keys()) |
