summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael E Brown <michael_e_brown@dell.com>2007-11-19 16:19:47 -0600
committerMichael E Brown <michael_e_brown@dell.com>2007-11-19 16:19:47 -0600
commit7ec6a1e9d202ab56fb31c914dbf7516c045e56ab (patch)
tree27122220e8e846c6e52006c691fa953630823947
parent0fb0d38bfdbf795d0d226b975e1c098ccd746bf7 (diff)
downloadmock-7ec6a1e9d202ab56fb31c914dbf7516c045e56ab.tar.gz
mock-7ec6a1e9d202ab56fb31c914dbf7516c045e56ab.tar.xz
mock-7ec6a1e9d202ab56fb31c914dbf7516c045e56ab.zip
Fix python 2.4. traceback on logging module bug.
-rwxr-xr-xsrc/mock.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mock.py b/src/mock.py
index 5037cba..a81c4fc 100755
--- a/src/mock.py
+++ b/src/mock.py
@@ -386,6 +386,8 @@ if __name__ == '__main__':
if killOrphans and retParams:
mock.util.orphansKill(retParams["chroot"].rootdir)
+ # fix for python 2.4 logging module bug:
+ logging.raiseExceptions=0
logging.shutdown()
sys.exit(exitStatus)