changeset 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 fcb5ab97f08e
children e0f8b28e15b5
files upreckon-vcs
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
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