diff options
Diffstat (limited to 'pbr/d2to1/util.py')
-rw-r--r-- | pbr/d2to1/util.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pbr/d2to1/util.py b/pbr/d2to1/util.py index 4e14c13..32dea29 100644 --- a/pbr/d2to1/util.py +++ b/pbr/d2to1/util.py @@ -10,7 +10,10 @@ to be an installation dependency for our packages yet--it is still too unstable # These first two imports are not used, but are needed to get around an # irritating Python bug that can crop up when using ./setup.py test. # See: http://www.eby-sarna.com/pipermail/peak/2010-May/003355.html -import multiprocessing +try: + import multiprocessing +except ImportError: + pass import logging import os |