Mercurial > ~astiob > upreckon > hgweb
comparison 2.00/compat.py @ 22:f07b7a431ea6
Further 2.00 work
Testconfs in all supported kinds of archives should now work.
Test runs are now cancelled by pressing Escape rather than Ctrl+C.
Improved time control.
Greatly improved temporary and helper file cleanup.
The pause configuration variable can now be a callable and is now processed using subprocess rather than system().
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Wed, 22 Sep 2010 22:01:56 +0000 |
parents | ec6f1a132109 |
children | b500e117080e |
comparison
equal
deleted
inserted
replaced
21:ec6f1a132109 | 22:f07b7a431ea6 |
---|---|
107 values = dict.itervalues if hasattr(dict, 'itervalues') else dict.values | 107 values = dict.itervalues if hasattr(dict, 'itervalues') else dict.values |
108 | 108 |
109 for name in __all__: | 109 for name in __all__: |
110 __builtins__[name] = globals()[name] | 110 __builtins__[name] = globals()[name] |
111 | 111 |
112 # Support simple testconf.py's written for test.py 1.x | |
112 __builtins__['xrange'] = range | 113 __builtins__['xrange'] = range |