comparison 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
comparison
equal deleted inserted replaced
65:fcb5ab97f08e 66:34ba0b353fc6
79 clock = time.clock 79 clock = time.clock
80 else: 80 else:
81 clock = time.time 81 clock = time.time
82 82
83 try: 83 try:
84 import testcases
85 except ImportError:
86 import_error(sys.exc_info()[1])
87
88 try:
84 from testcases import pause 89 from testcases import pause
85 except ImportError: 90 except ImportError:
86 pause = None 91 pause = None
87 92
88 try: 93 try: