##// END OF EJS Templates
logging: include more info in action logging...
logging: include more info in action logging These messages are very frequent and thus shows what is going on on the server - and it is nice to have some extra information to give some context for other messages that might be logged.

File last commit:

r2007:324ac367 beta
r3135:e7ba6928 beta
Show More
compat.py
13 lines | 266 B | text/x-python | PythonLexer
"""
Various utilities to work with Python < 2.7.
Those utilities may be deleted once ``vcs`` stops support for older Python
versions.
"""
import sys
if sys.version_info >= (2, 7):
unittest = __import__('unittest')
else:
unittest = __import__('unittest2')