Show More
@@ -115,10 +115,7 b' class LevelFormatter(logging.Formatter):' | |||||
115 | record.highlevel = self.highlevel_format % record.__dict__ |
|
115 | record.highlevel = self.highlevel_format % record.__dict__ | |
116 | else: |
|
116 | else: | |
117 | record.highlevel = "" |
|
117 | record.highlevel = "" | |
118 | if sys.version_info[:2] > (2,6): |
|
|||
119 |
|
|
118 | return super(LevelFormatter, self).format(record) | |
120 | else: |
|
|||
121 | return logging.Formatter.format(self, record) |
|
|||
122 |
|
119 | |||
123 |
|
120 | |||
124 | class Application(SingletonConfigurable): |
|
121 | class Application(SingletonConfigurable): |
General Comments 0
You need to be logged in to leave comments.
Login now