tests/hghave.py
changeset 44264 d3f776c4760e
parent 44119 5b38c2ab6ad3
child 44279 e48a996d12bc
equal deleted inserted replaced
44263:beea86e4d332 44264:d3f776c4760e
   683     try:
   683     try:
   684         import curses
   684         import curses
   685 
   685 
   686         curses.COLOR_BLUE
   686         curses.COLOR_BLUE
   687         return matchoutput('test -x "`which tic`"', br'')
   687         return matchoutput('test -x "`which tic`"', br'')
   688     except ImportError:
   688     except (ImportError, AttributeError):
   689         return False
   689         return False
   690 
   690 
   691 
   691 
   692 @check("xz", "xz compression utility")
   692 @check("xz", "xz compression utility")
   693 def has_xz():
   693 def has_xz():