diff upreckon-vcs @ 66:34ba0b353fc6

Fixed an issue when import errors would be ignored
author Oleg Oshmyan <chortos@inbox.lv>
date Wed, 22 Dec 2010 22:30:05 +0200
parents 94946bc0a3a8
children b9d5857f7b9a
line wrap: on
line diff
--- a/upreckon-vcs	Wed Dec 22 22:28:10 2010 +0200
+++ b/upreckon-vcs	Wed Dec 22 22:30:05 2010 +0200
@@ -81,6 +81,11 @@
 	clock = time.time
 
 try:
+	import testcases
+except ImportError:
+	import_error(sys.exc_info()[1])
+
+try:
 	from testcases import pause
 except ImportError:
 	pause = None