]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
whitespace normalisation
authorAnthony Baxter <anthonybaxter@gmail.com>
Fri, 3 Jun 2005 14:10:50 +0000 (14:10 +0000)
committerAnthony Baxter <anthonybaxter@gmail.com>
Fri, 3 Jun 2005 14:10:50 +0000 (14:10 +0000)
Lib/idlelib/configHandler.py
Lib/plat-mac/bundlebuilder.py
Lib/plat-mac/pimp.py
Lib/test/regrtest.py
Lib/test/test_subprocess.py
Lib/test/test_zlib.py

index d13f1e4ccf3d21f9a8f9a55d5961f8ac5168b4a6..ea913c7f809211c0e8c2395cb5f0c1cc3aba25f1 100644 (file)
@@ -193,7 +193,7 @@ class IdleConf:
         """
         Creates (if required) and returns a filesystem directory for storing
         user config files.
-        
+
         """
         cfgDir = '.idlerc'
         userDir = os.path.expanduser('~')
index e3795441c54a6f45550af26f3f3377c694eb0787..03d8c81776d7885cea9164b4f2541ec512cb4440 100755 (executable)
@@ -110,7 +110,7 @@ class BundleBuilder(Defaults):
 
     # Verbosity level.
     verbosity = 1
-    
+
     # Destination root directory
     destroot = ""
 
index 255b57cceefc71e1a5d71ee4a90974cbe0461ddb..21923ec55087ec93b24c64c4bb66f96f4147d402 100644 (file)
@@ -907,10 +907,10 @@ class PimpPackage_installer(PimpPackage):
 
     def installPackageOnly(self, output=None):
         """Install a single source package.
-        
+
         If output is given it should be a file-like object and it
         will receive a log of what happened."""
-                    
+
         if self._dict.has_key('Post-install-command'):
             return "%s: Installer package cannot have Post-install-command" % self.fullname()
 
@@ -918,7 +918,7 @@ class PimpPackage_installer(PimpPackage):
             if _cmd(output, '/tmp', self._dict['Pre-install-command']):
                 return "pre-install %s: running \"%s\" failed" % \
                     (self.fullname(), self._dict['Pre-install-command'])
-                    
+
         self.beforeInstall()
 
         installcmd = self._dict.get('Install-command')
@@ -926,7 +926,7 @@ class PimpPackage_installer(PimpPackage):
             if '%' in installcmd:
                 installcmd = installcmd % self.archiveFilename
         else:
-                installcmd = 'open \"%s\"' % self.archiveFilename
+            installcmd = 'open \"%s\"' % self.archiveFilename
         if _cmd(output, "/tmp", installcmd):
             return '%s: install command failed (use verbose for details)' % self.fullname()
         return '%s: downloaded and opened. Install manually and restart Package Manager' % self.archiveFilename
index 20407f8bd3c23fa5b4cf9c3b3fa4be0c7dce831b..6160b3d07d505cb1b5bcc258a56ef275225f2d93 100755 (executable)
@@ -93,7 +93,7 @@ resources to test.  Currently only the following are defined:
                 in the standard library and test suite.  This takes
                 a long time.
 
-    subprocess  Run all tests for the subprocess module. 
+    subprocess  Run all tests for the subprocess module.
 
 To enable all resources except one, use '-uall,-<resource>'.  For
 example, to run all the tests except for the bsddb tests, give the
index e79dbdeac8ed868989cf70cf177d2d1046fcea33..6dcb8e440f016bf9084c5bc34b29f26c3aadae36 100644 (file)
@@ -346,7 +346,7 @@ class ProcessTestCase(unittest.TestCase):
         if test_support.is_resource_enabled("subprocess") and not mswindows:
             max_handles = 1026 # too much for most UNIX systems
         else:
-            max_handles = 65 
+            max_handles = 65
         for i in range(max_handles):
             p = subprocess.Popen([sys.executable, "-c",
                     "import sys;sys.stdout.write(sys.stdin.read())"],
index b4bf77ea011615373a36ea128ae563a069843e3f..e91184e1b7180304053593e3a9f00821c05cf68d 100644 (file)
@@ -299,7 +299,7 @@ class CompressObjectTestCase(unittest.TestCase):
         self.failUnless(co.flush())  # Returns a zlib header
         dco = zlib.decompressobj()
         self.assertEqual(dco.flush(), "") # Returns nothing
-        
+
 
 def genblock(seed, length, step=1024, generator=random):
     """length-byte stream of random data from a seed (in step-byte blocks)."""