From 0ad08528d929e942e7842401ef8edffaa1854642 2013-08-13 00:58:51 From: Thomas Kluyver Date: 2013-08-13 00:58:51 Subject: [PATCH] Remove Python 2.6 workaround --- diff --git a/IPython/config/application.py b/IPython/config/application.py index d32a256..561269c 100644 --- a/IPython/config/application.py +++ b/IPython/config/application.py @@ -115,10 +115,7 @@ class LevelFormatter(logging.Formatter): record.highlevel = self.highlevel_format % record.__dict__ else: record.highlevel = "" - if sys.version_info[:2] > (2,6): - return super(LevelFormatter, self).format(record) - else: - return logging.Formatter.format(self, record) + return super(LevelFormatter, self).format(record) class Application(SingletonConfigurable):