summaryrefslogtreecommitdiff
path: root/portato/log.py
diff options
context:
space:
mode:
Diffstat (limited to 'portato/log.py')
-rw-r--r--portato/log.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/portato/log.py b/portato/log.py
index fecc5f6..1d0c8f5 100644
--- a/portato/log.py
+++ b/portato/log.py
@@ -10,8 +10,6 @@
#
# Written by René 'Necoro' Neumann <necoro@necoro.net>
-from __future__ import absolute_import
-
import logging
import sys
import os
@@ -41,7 +39,7 @@ class OutputFormatter (logging.Formatter):
def __init__(self, *args, **kwargs):
logging.Formatter.__init__(self, *args, **kwargs)
- for key, value in self.colors.iteritems():
+ for key, value in self.colors.items():
self.colors[key] = "\x1b[01;%02dm*\x1b[39;49;00m" % value
if hasattr(sys.stderr, "fileno"):