/usr/lib/python2.7/dist-packages/application/log/extensions/twisted/twisted.py is in python-application 1.4.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # Copyright (C) 2009-2012 Dan Pascu. See LICENSE for details.
#
from __future__ import absolute_import
from application.log.extensions import twisted as fake_twisted
import sys, os
try:
sys.path.remove(os.path.realpath(fake_twisted.__path__[0]))
except ValueError:
pass
else:
sys.modules.pop('twisted', None)
import twisted
from application.log.extensions.twisted import divert_logger
divert_logger()
|