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):