fix an unhandled traceback under windows

This commit is contained in:
Yann Leboulanger 2009-05-07 11:18:48 +00:00
parent 9f660ed946
commit d71e82921e

View file

@ -154,7 +154,7 @@ try:
except ImportError: except ImportError:
try: try:
import pybonjour import pybonjour
except ImportError: except: # Linux raises ImportError, Windows raises WindowsError
HAVE_ZEROCONF = False HAVE_ZEROCONF = False
HAVE_PYCRYPTO = True HAVE_PYCRYPTO = True