Mercurial > ~astiob > upreckon > hgweb
diff testcases.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 | 1fb319ec33af |
children | 9b41934b2e95 |
line wrap: on
line diff
--- a/testcases.py Mon Feb 28 15:32:22 2011 +0000 +++ b/testcases.py Mon Feb 28 16:05:20 2011 +0000 @@ -4,14 +4,9 @@ from __future__ import division, with_statement -try: - from compat import * - import files, problem, config -except ImportError: - import __main__ - __main__.import_error(sys.exc_info()[1]) -else: - from __main__ import options +from compat import * +import files, problem, config +from __main__ import options import glob, re, sys, tempfile, time from subprocess import Popen, PIPE, STDOUT