Mercurial > ~astiob > upreckon > hgweb
comparison problem.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 | b7fb64ce03d9 |
comparison
equal
deleted
inserted
replaced
| 90:1fb319ec33af | 91:c62c9bfd614a |
|---|---|
| 1 # Copyright (c) 2010-2011 Chortos-2 <chortos@inbox.lv> | 1 # Copyright (c) 2010-2011 Chortos-2 <chortos@inbox.lv> |
| 2 | 2 |
| 3 from __future__ import division, with_statement | 3 from __future__ import division, with_statement |
| 4 | 4 |
| 5 try: | 5 from compat import * |
| 6 from compat import * | 6 import config, testcases |
| 7 import config, testcases | 7 from __main__ import options |
| 8 except ImportError: | |
| 9 import __main__ | |
| 10 __main__.import_error(sys.exc_info()[1]) | |
| 11 else: | |
| 12 from __main__ import options | |
| 13 | 8 |
| 14 import os, re, sys | 9 import os, re, sys |
| 15 | 10 |
| 16 try: | 11 try: |
| 17 from collections import deque | 12 from collections import deque |
