Skip to content

Commit

Permalink
fixed merge artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
elmotec committed Jun 24, 2015
1 parent 388c3f5 commit 1b21d17
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,11 @@
"""


<<<<<<< HEAD
class LogInterceptor: # pylint: disable=too-few-public-methods
=======
class LogInterceptor:

>>>>>>> f1c51118052cc57a35499b99870eacff2ae99687
"""Replaces all log handlers and redirect log to the stream."""

def __init__(self, logger):
<<<<<<< HEAD
"""Sets up log handler for logger and remove all existing handlers.
=======
"""Set up log handler for logger and remove all existing handlers.
>>>>>>> f1c51118052cc57a35499b99870eacff2ae99687
Arguments:
logger (logging.Logger): logger to be modified.
Expand All @@ -93,15 +84,9 @@ def __init__(self, logger):
self.logger = logger
self.logger.propagate = False
self.handler = logging.StreamHandler(self.__content)
<<<<<<< HEAD
for hdlr in logger.handlers:
self.__handlers.append(hdlr)
logger.removeHandler(hdlr)
=======
for handler in logger.handlers:
self.__handlers.append(handler)
logger.removeHandler(handler)
>>>>>>> f1c51118052cc57a35499b99870eacff2ae99687
logger.addHandler(self.handler)

@property
Expand Down

0 comments on commit 1b21d17

Please sign in to comment.