diff options
Diffstat (limited to 'gbp/log.py')
-rw-r--r-- | gbp/log.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -26,8 +26,8 @@ import gbp.tristate # Initialize default logger LOGGER = logging.getLogger(__name__) -COLORS = dict([('none', 0)] + zip(['black', 'red', 'green', 'yellow', 'blue', - 'magenta', 'cyan', 'white'], range(30, 38))) +COLORS = dict([('none', 0)] + list(zip(['black', 'red', 'green', 'yellow', 'blue', + 'magenta', 'cyan', 'white'], list(range(30, 38))))) DEFAULT_COLOR_SCHEME = {DEBUG: COLORS['green'], INFO: COLORS['green'], WARNING: COLORS['red'], |