comparison 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
comparison
equal deleted inserted replaced
90:1fb319ec33af 91:c62c9bfd614a
2 2
3 # TODO: copy the ansfile if not options.erase even if no validator is used 3 # TODO: copy the ansfile if not options.erase even if no validator is used
4 4
5 from __future__ import division, with_statement 5 from __future__ import division, with_statement
6 6
7 try: 7 from compat import *
8 from compat import * 8 import files, problem, config
9 import files, problem, config 9 from __main__ import options
10 except ImportError:
11 import __main__
12 __main__.import_error(sys.exc_info()[1])
13 else:
14 from __main__ import options
15 10
16 import glob, re, sys, tempfile, time 11 import glob, re, sys, tempfile, time
17 from subprocess import Popen, PIPE, STDOUT 12 from subprocess import Popen, PIPE, STDOUT
18 13
19 import os 14 import os