]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Whitespace normalization.
authorTim Peters <tim.peters@gmail.com>
Sat, 25 Mar 2006 01:50:43 +0000 (01:50 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 25 Mar 2006 01:50:43 +0000 (01:50 +0000)
Lib/Queue.py
Lib/runpy.py
Lib/test/test_queue.py

index 285cd17da68893800eb402efdb21e5aef39dd862..ad65cf0b579b63158b192a9b7aa3e40defa8553f 100644 (file)
@@ -59,7 +59,7 @@ class Queue:
             self.unfinished_tasks = unfinished = self.unfinished_tasks - 1
             if unfinished <= 0:
                 if unfinished < 0:
-                    raise ValueError('task_done() called too many times')         
+                    raise ValueError('task_done() called too many times')
                 self.all_tasks_done.notifyAll()
         finally:
             self.all_tasks_done.release()
index 496b095a3197856343be4436fd97fee96b00d484..0af9a503a6591873e236f5041fe77227b626ab28 100755 (executable)
@@ -387,9 +387,9 @@ def _run_module_code(code, init_globals=None,
         finally:
             sys.argv[0] = saved_argv0
         if restore_module:
-                sys.modules[mod_name] = saved_module
+            sys.modules[mod_name] = saved_module
         else:
-                del sys.modules[mod_name]
+            del sys.modules[mod_name]
         # Copy the globals of the temporary module, as they
         # may be cleared when the temporary module goes away
         return mod_globals.copy()
index 17c1def573a951c2eaa785ca76241b7f7777dacd..77a1c9da118a265519b14606e549fd09395bac64 100644 (file)
@@ -234,7 +234,7 @@ def worker(q):
         finally:
             cumlock.release()
         q.task_done()
-    
+
 def QueueJoinTest(q):
     global cum
     cum = 0