From d9a7cd1da64da57bea05e5b234b9d9c6fea7f911 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Sun, 11 Apr 2010 01:39:31 +0200 Subject: applied 2to3 and fixed the result --- portato/log.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'portato/log.py') diff --git a/portato/log.py b/portato/log.py index b6462e9..c945372 100644 --- a/portato/log.py +++ b/portato/log.py @@ -10,8 +10,6 @@ # # Written by René 'Necoro' Neumann -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"): -- cgit v1.2.3