diff win32.py @ 91:c62c9bfd614a

Removed import_error It was buggy anyway.
author Oleg Oshmyan <chortos@inbox.lv>
date Mon, 28 Feb 2011 16:05:20 +0000
parents 741ae3391b61
children 6c2997616bdf
line wrap: on
line diff
--- a/win32.py	Mon Feb 28 15:32:22 2011 +0000
+++ b/win32.py	Mon Feb 28 16:05:20 2011 +0000
@@ -1,19 +1,15 @@
 # Copyright (c) 2010-2011 Chortos-2 <chortos@inbox.lv>
 
 from __future__ import division, with_statement
-import sys
 
-try:
-	from compat import *
-	import testcases  # mutual import
-except ImportError:
-	import __main__
-	__main__.import_error(sys.exc_info()[1])
+from compat import *
+import testcases  # mutual import
 
 from ctypes import *
 from ctypes.wintypes import *
 from msvcrt import getch as pause
 from subprocess import Popen
+import sys
 
 try:
 	from testcases import clock