[Python-checkins] distutils2: Cleaning up a few indentations and making a few lines pep8 length compliant.

tarek.ziade python-checkins at python.org
Mon Apr 5 23:09:19 CEST 2010


tarek.ziade pushed d3743c8206eb to distutils2:

http://hg.python.org/distutils2/rev/d3743c8206eb
changeset:   87:d3743c8206eb
user:        pumazi
date:        Tue Mar 30 08:59:48 2010 -0400
summary:     Cleaning up a few indentations and making a few lines pep8 length compliant.
files:       src/distutils2/mkpkg.py

diff --git a/src/distutils2/mkpkg.py b/src/distutils2/mkpkg.py
--- a/src/distutils2/mkpkg.py
+++ b/src/distutils2/mkpkg.py
@@ -73,7 +73,7 @@
 }
 
 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 @@
         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 @@
                 helpText['trove_generic']) != 'y': return
 
         self.walkTrove(classifierDict, [troveDict], '')
-    
+
     def walkTrove(self, classifierDict, trovePath, desc):
         trove = trovePath[-1]
 
@@ -835,7 +836,8 @@
             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 @@
                     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())

--
Repository URL: http://hg.python.org/distutils2


More information about the Python-checkins mailing list