commit | 9f39f6853342df9af677810f65f655cc58c20986 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Fri Jan 06 04:18:21 2006 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Fri Jan 06 04:18:21 2006 +0000 |
tree | 4516ef85cb6941aeeaa32e55516d6f66b4439677 | |
parent | a9652f11ade5566c2429fb16902fe1cc3f2f1f70 [diff] |
initscr() will exit if there's an error. Try to catch the obvious failure cases if TERM isn't set or is unknown (perhaps we should only check if unset or empty?) Skip the test if TERM isn't set. This seems to occur when running under buildbot and presumably cron. For some more info check here: http://mail.python.org/pipermail/python-checkins/2006-January/048704.html Will backport if it works.