Mercurial > kallithea
view rhodecode/lib/vcs/utils/compat.py @ 3334:968b28545f93 beta
fixed description of update-repoinfo command
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 08 Feb 2013 19:08:52 +0100 |
parents | 324ac367a4da |
children | d7488551578e |
line wrap: on
line source
""" 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')