Mercurial > hg
view tests/sitecustomize.py @ 14955:6349a9eb0178
httprepo: use getattr instead of hasattr
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Mon, 25 Jul 2011 15:37:52 -0500 |
parents | 58128004cca1 |
children | 0b21ae0a2366 |
line wrap: on
line source
try: import coverage if hasattr(coverage, 'process_startup'): coverage.process_startup() except ImportError: pass