summaryrefslogtreecommitdiff
path: root/gbp
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2015-02-19 12:01:35 +0100
committerGuido Günther <agx@sigxcpu.org>2015-02-20 12:35:43 +0100
commit048e3b6e1960bd8e1d79b8a458d27a288616d24d (patch)
treef96482533573cd4958f21b3f6c685cf77b6d89e9 /gbp
parentc22fb3cb2eadaaedf8ff7d68855d340975dd4c6b (diff)
Convert zip and map to list
to work towards Python3 support Gbp-Dch: Ignore
Diffstat (limited to 'gbp')
-rw-r--r--gbp/log.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/log.py b/gbp/log.py
index 6d2c0a6..27dc23d 100644
--- a/gbp/log.py
+++ b/gbp/log.py
@@ -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'],