Revision d3737aca qa/qa_utils.py

b/qa/qa_utils.py
90 90
    # Don't use colours if curses module can't be imported
91 91
    return
92 92

  
93
  curses.setupterm()
93
  try:
94
    curses.setupterm()
95
  except curses.error:
96
    # Probably a non-standard terminal, don't use colours then
97
    return
94 98

  
95 99
  _RESET_SEQ = curses.tigetstr("op")
96 100

  

Also available in: Unified diff