From 93ae1dfa2b4a854ae3dff4f2961a5a4ad9a72306 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 31 Jul 2011 08:52:48 +0000 Subject: [PATCH] minor bug fix --- doc/THANKS | 3 +++ lib/utils/hash.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/THANKS b/doc/THANKS index 5b53587e8..43c17a06d 100644 --- a/doc/THANKS +++ b/doc/THANKS @@ -423,6 +423,9 @@ Marek Sarvas Philippe A. R. Schaeffer for reporting a minor bug +Mohd Zamiri Sanin + for reporting a minor bug + Jorge Santos for reporting a minor bug diff --git a/lib/utils/hash.py b/lib/utils/hash.py index 5a7a42cae..e2bd69fbe 100644 --- a/lib/utils/hash.py +++ b/lib/utils/hash.py @@ -18,7 +18,7 @@ try: # problems on FreeBSD (Reference: http://www.eggheadcafe.com/microsoft/Python/35880259/multiprocessing-on-freebsd.aspx) _ = multiprocessing.Queue() -except ImportError, _: +except (ImportError, OSError): pass else: _multiprocessing = multiprocessing