diff options
Diffstat (limited to 'doc/tools')
-rwxr-xr-x | doc/tools/print_colors.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/tools/print_colors.py b/doc/tools/print_colors.py index feae8e35..8cc944ed 100755 --- a/doc/tools/print_colors.py +++ b/doc/tools/print_colors.py @@ -14,14 +14,14 @@ def main(win): for c in range(-1, curses.COLORS): try: init_pair(c, c, 0) - except: + except Exception: pass else: win.addstr(str(c) + ' ', color_pair(c) | attr) start_color() try: use_default_colors() - except: + except Exception: pass win.addstr("available colors: %d\n\n" % curses.COLORS) print_all_colors(0) |