diff options
author | Erik M. Bray <embray@stsci.edu> | 2013-03-05 12:24:28 -0500 |
---|---|---|
committer | Erik M. Bray <embray@stsci.edu> | 2013-03-05 12:24:28 -0500 |
commit | e8a1c1abb6a4137ac52aba7a2db2c5dac1f962d6 (patch) | |
tree | 48dce4fa4a6476a63f2f2527823cc0a591369b1c | |
parent | 06e151665e0f021a6f944a4c73e13bb0791e22ce (diff) | |
download | pbr-e8a1c1abb6a4137ac52aba7a2db2c5dac1f962d6.tar.gz |
multiprocessing doesn't exist in Python 2.5
-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 |