diff options
author | Guido Günther <agx@sigxcpu.org> | 2015-02-19 12:01:35 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2015-02-20 12:35:43 +0100 |
commit | 048e3b6e1960bd8e1d79b8a458d27a288616d24d (patch) | |
tree | f96482533573cd4958f21b3f6c685cf77b6d89e9 /gbp | |
parent | c22fb3cb2eadaaedf8ff7d68855d340975dd4c6b (diff) |
Convert zip and map to list
to work towards Python3 support
Gbp-Dch: Ignore
Diffstat (limited to 'gbp')
-rw-r--r-- | gbp/log.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,8 +24,8 @@ from logging import (DEBUG, INFO, WARNING, ERROR, CRITICAL, getLogger) import gbp.tristate -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'], range(30, 38)))) DEFAULT_COLOR_SCHEME = {DEBUG: COLORS['green'], INFO: COLORS['green'], WARNING: COLORS['red'], |