From 99b84bdaad28f6deba1462974cbe02ead36cbf75 Mon Sep 17 00:00:00 2001 From: Paul Prescod Date: Tue, 4 Jul 2000 03:38:10 +0000 Subject: Removed some tabs. --- Lib/test/test_winreg.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Lib/test/test_winreg.py b/Lib/test/test_winreg.py index b2f87d5..0eb798f 100644 --- a/Lib/test/test_winreg.py +++ b/Lib/test/test_winreg.py @@ -42,18 +42,18 @@ def WriteTestData(root_key): int_sub_key = int(sub_key) CloseKey(sub_key) try: - QueryInfoKey(int_sub_key) - raise RuntimeError, "It appears the CloseKey() function does not close the actual key!" + QueryInfoKey(int_sub_key) + raise RuntimeError, "It appears the CloseKey() function does not close the actual key!" except EnvironmentError: - pass + pass # ... and close that key that way :-) int_key = int(key) key.Close() try: - QueryInfoKey(int_key) - raise RuntimeError, "It appears the key.Close() function does not close the actual key!" + QueryInfoKey(int_key) + raise RuntimeError, "It appears the key.Close() function does not close the actual key!" except EnvironmentError: - pass + pass def ReadTestData(root_key): # Check we can get default value for this key. -- cgit v0.12