From 7ec6a1e9d202ab56fb31c914dbf7516c045e56ab Mon Sep 17 00:00:00 2001 From: Michael E Brown Date: Mon, 19 Nov 2007 16:19:47 -0600 Subject: Fix python 2.4. traceback on logging module bug. --- src/mock.py | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit