~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to terminal.py

  • Committer: Aaron Bentley
  • Date: 2008-10-07 15:19:22 UTC
  • Revision ID: aaron@aaronbentley.com-20081007151922-qjnns8yonx8daeua
Fix NotStandalone (#277652)

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
    # XXX See terminfo(5) for all the gory details.
28
28
    if sys.platform == "win32":
29
29
        return False
30
 
    if not sys.stdout.isatty():
31
 
        return False
32
30
    import curses
33
31
    try:
34
32
        curses.setupterm()