[pypy-svn] r11831 - pypy/dist/lib-python
hpk at codespeak.net
hpk at codespeak.net
Tue May 3 11:03:12 CEST 2005
Author: hpk
Date: Tue May 3 11:03:12 2005
New Revision: 11831
Modified:
pypy/dist/lib-python/conftest.py
Log:
be more precise about exceptions when getrev()ing
Modified: pypy/dist/lib-python/conftest.py
==============================================================================
--- pypy/dist/lib-python/conftest.py (original)
+++ pypy/dist/lib-python/conftest.py Tue May 3 11:03:12 2005
@@ -744,7 +744,7 @@
def getrev(path):
try:
return py.path.svnwc(pypydir).info().rev
- except:
+ except py.process.cmdexec.Error:
return 'unknown' # on windows people not always have 'svn' in their path
class RunFileExternal(py.test.collect.Module):
More information about the Pypy-commit
mailing list