view tests/sitecustomize.py @ 20650:e811b93f2cb1

cmdserver: allow to start server without repository Typical use case is to clone repository through command server. Clone may require user interaction, so command-server protocol is beneficial over raw stdio channels.
author Yuya Nishihara <yuya@tcha.org>
date Mon, 03 Mar 2014 23:21:24 +0900
parents 0b21ae0a2366
children 031947baf4d0
line wrap: on
line source

try:
    import coverage
    getattr(coverage, 'process_startup', lambda: None)()
except ImportError:
    pass