Changeset 3500


Ignore:
Timestamp:
Jun 19, 2007, 2:42:32 AM (18 years ago)
Author:
bird
Message:

Seems we're missing tcgetattr, skip this atexit stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/essentials/sys-apps/prefix-portage/pym/portage/process.py

    r3494 r3500  
    113113
    114114# Make sure the original terminal attributes are reverted at exit.
    115 if hasattr(sys.stdin, "isatty") and sys.stdin.isatty():
     115# bird: XXX: termios.tcgetattr doesn't exist on OS/2 yet.
     116if hasattr(sys.stdin, "isatty") and sys.stdin.isatty() and sys.platform != "os2knix":
    116117        import termios
    117118        _stdin_termios = termios.tcgetattr(sys.stdin.fileno())
Note: See TracChangeset for help on using the changeset viewer.