Skip to content

Commit

Permalink
Remove incompatible logging code.
Browse files Browse the repository at this point in the history
  • Loading branch information
alenz33 committed Mar 20, 2015
1 parent e466d7d commit 3d74ce9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions conduct/loggers.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,7 @@ class LogfileFormatter(Formatter):
extended_traceback = True

def formatException(self, ei):
if issubclass(ei[0], (PyTango.DevError, PyTango.DevFailed)):
# For Tango exceptions, the traceback is not very interesting,
# since from the code's point of view everything worked.
s = str(ei[1])
elif self.extended_traceback:
if self.extended_traceback:
s = format_extended_traceback(*ei)
else:
s = ''.join(traceback.format_exception(ei[0], ei[1], ei[2],
Expand Down

0 comments on commit 3d74ce9

Please sign in to comment.