From f4f2f0ff3e808bc2c85b914aa750ad68770ed334 Mon Sep 17 00:00:00 2001 From: Bruno Wagner Date: Wed, 3 Jun 2015 17:10:08 -0300 Subject: Creating a leap session is now part of leap init We've moved the init soledad method to the leap_initialization module and gave it a meaningful name, because it was initializing the whole leap session instead of only soledad, because of that we removed some of the uneeded config files and deduplicated some code on maintenance to use the same facilities. Some arguments had non-meaningful variable names and args was being passed everywhere (it was unclear who was using which variables in the args) We changed the initialization to pass those arguments explicitly, then we can factor them out sometime when it makes sense --- service/pixelated/config/loading_page.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'service/pixelated/config/loading_page.py') diff --git a/service/pixelated/config/loading_page.py b/service/pixelated/config/loading_page.py index b8a95f57..473f675e 100644 --- a/service/pixelated/config/loading_page.py +++ b/service/pixelated/config/loading_page.py @@ -48,7 +48,3 @@ class LoadingResource(Resource): if path == '': return self return Resource.getChild(self, path, request) - - -def loading(args): - return reactor.listenTCP(args.port, Site(LoadingResource()), interface=args.host) -- cgit v1.2.3