diff options
author | lloyd <[email protected]> | 2010-05-20 13:25:48 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-05-20 13:25:48 +0000 |
commit | a5963cd67f92ab9c1ee34d0c797cbcc8bd447b31 (patch) | |
tree | fc356e40bd8accd943cb38137010924bd5920ee2 /configure.py | |
parent | 93cd5303254ac4608391bf03bce4da18cd1cd328 (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-x | configure.py | 2 |
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) |