# HG changeset patch # User Oleg Oshmyan # Date 1298592620 0 # Node ID 8cd7a732f2f3c28a5314f9c4b81ad0b1e6978349 # Parent 741ae3391b61a862410c5502f16e1e7c71eef9f1 Fixed a crash in the unix module Bug fix: Upreckon no longer crashes on non-Win32 when the standard input is not a console or Upreckon does not have the tools to catch key presses. diff -r 741ae3391b61 -r 8cd7a732f2f3 unix.py --- a/unix.py Thu Feb 24 23:59:48 2011 +0000 +++ b/unix.py Fri Feb 25 00:10:20 2011 +0000 @@ -11,7 +11,7 @@ __main__.import_error(sys.exc_info()[1]) from subprocess import Popen -import os, sys +import os, sys, time try: from testcases import clock