Add back init scripts

Update cherrypy to 3.8.0
Remove unnecessary includes
Remove old references to Headphones
This commit is contained in:
Tim 2015-06-30 21:27:07 +02:00
parent 4936ad0476
commit 0a170c20e6
22 changed files with 531 additions and 2250 deletions

View file

@ -209,9 +209,11 @@ class LogManager(object):
If ``traceback`` is True, the traceback of the current exception
(if any) will be appended to ``msg``.
"""
exc_info = None
if traceback:
msg += _cperror.format_exc()
self.error_log.log(severity, ' '.join((self.time(), context, msg)))
exc_info = _cperror._exc_info()
self.error_log.log(severity, ' '.join((self.time(), context, msg)), exc_info=exc_info)
def __call__(self, *args, **kwargs):
"""An alias for ``error``."""