Mercurial > ~astiob > upreckon > hgweb
comparison unix.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 | 8cd7a732f2f3 |
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 import sys | 4 |
5 | 5 from compat import * |
6 try: | 6 import testcases # mutual import |
7 from compat import * | |
8 import testcases # mutual import | |
9 except ImportError: | |
10 import __main__ | |
11 __main__.import_error(sys.exc_info()[1]) | |
12 | 7 |
13 from subprocess import Popen | 8 from subprocess import Popen |
14 import os, sys, time | 9 import os, sys, time |
15 | 10 |
16 try: | 11 try: |