mercurial/crecord.py
changeset 24425 3a4122bb9488
parent 24423 01b39e821d00
child 24492 efa094701a05
equal deleted inserted replaced
24424:f7a3ea7b9dc6 24425:3a4122bb9488
    30         pass
    30         pass
    31 
    31 
    32 try:
    32 try:
    33     curses
    33     curses
    34 except NameError:
    34 except NameError:
    35     raise util.Abort(
    35     if os.name != 'nt':  # Temporary hack to get running on Windows again
    36         _('the python curses/wcurses module is not available/installed'))
    36         raise util.Abort(
       
    37             _('the python curses/wcurses module is not available/installed'))
    37 
    38 
    38 _origstdout = sys.__stdout__ # used by gethw()
    39 _origstdout = sys.__stdout__ # used by gethw()
    39 
    40 
    40 class patchnode(object):
    41 class patchnode(object):
    41     """abstract class for patch graph nodes
    42     """abstract class for patch graph nodes