aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-05-20 13:25:48 +0000
committerlloyd <[email protected]>2010-05-20 13:25:48 +0000
commita5963cd67f92ab9c1ee34d0c797cbcc8bd447b31 (patch)
treefc356e40bd8accd943cb38137010924bd5920ee2 /configure.py
parent93cd5303254ac4608391bf03bce4da18cd1cd328 (diff)
Replace print to stderr with logging.error call on unhandled exception.
This should work with both Python 2 and Python 3.
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index 9dda0c7f4..d81096d00 100755
--- a/configure.py
+++ b/configure.py
@@ -1576,7 +1576,7 @@ if __name__ == '__main__':
try:
main()
except Exception, e:
- print >>sys.stderr, e
+ logging.error(str(e))
#import traceback
#traceback.print_exc(file=sys.stderr)
sys.exit(1)