summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorBruno Wagner <bwagner@riseup.net>2016-10-19 17:04:13 -0200
committerBruno Wagner <bwagner@riseup.net>2016-10-19 17:04:13 -0200
commit11436b4e5f37054313be71fa6189e8f706faf461 (patch)
tree2ad0d66ef6ae89b1d8d9d0a38e7740375437de93 /service
parent425d6a54e13be2cdcd18f1b21a4ff70ae5d43ff0 (diff)
Removed plugins bootstrap from the manhole option
Diffstat (limited to 'service')
-rw-r--r--service/pixelated/application.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/service/pixelated/application.py b/service/pixelated/application.py
index 2b97f5b3..d4d8c280 100644
--- a/service/pixelated/application.py
+++ b/service/pixelated/application.py
@@ -28,8 +28,6 @@ from twisted.cred.checkers import AllowAnonymousAccess, FilePasswordDB
from twisted.internet import defer
from twisted.internet import reactor
from twisted.internet import ssl
-from twisted.internet.task import LoopingCall
-from twisted.plugin import getPlugins
from pixelated.adapter.welcome_mail import add_welcome_mail
from pixelated.config import arguments
@@ -41,7 +39,6 @@ from pixelated.config.site import PixelatedSite
from pixelated.resources.auth import LeapPasswordChecker, PixelatedRealm, PixelatedAuthSessionWrapper, SessionChecker
from pixelated.resources.login_resource import LoginResource
from pixelated.resources.root_resource import RootResource
-from pixelated.support.loglinegenerator import ILogLineGenerator
log = Logger()
@@ -108,18 +105,6 @@ def initialize():
reactor.run()
-def start_plugins():
- log.info('start_plugins')
-
- def logGeneratedLines():
- for p in getPlugins(ILogLineGenerator):
- logLine = p.getLogLine()
- if logLine is not None:
- log.debug(logLine)
-
- LoopingCall(logGeneratedLines).start(1)
-
-
def add_top_level_system_callbacks(deferred, services_factory):
def _quit_on_error(failure):
@@ -210,8 +195,6 @@ def start_site(config, resource):
if config.manhole:
log.info('Starting the manhole on port 8008')
- start_plugins()
-
multiService = manhole_tap.makeService(dict(namespace=globals(),
telnetPort='8008',
sshPort='8009',