pep8 utils.py

Change-Id: I0466fd2a462e94e5a1e0f88adf901de9f5ac131d
This commit is contained in:
John Dickinson 2012-11-20 14:14:03 -08:00
parent cb55f0c3a8
commit f74ef1e396
1 changed files with 1 additions and 1 deletions

View File

@ -690,7 +690,7 @@ def get_logger(conf, name=None, log_to_console=False, log_route=None,
handler = SysLogHandler(address=log_address, facility=facility)
except socket.error, e:
# Either /dev/log isn't a UNIX socket or it does not exist at all
if e.errno not in [errno.ENOTSOCK, errno.ENOENT]:
if e.errno not in [errno.ENOTSOCK, errno.ENOENT]:
raise e
handler = SysLogHandler(facility=facility)
handler.setFormatter(formatter)