diff options
author | Bruno Wagner <bwagner@riseup.net> | 2015-01-21 19:53:55 -0200 |
---|---|---|
committer | Pixpoa pairing <pixpoapairing@pixelated-project.org> | 2015-01-21 19:54:24 -0200 |
commit | 444fced517da618230a1c1a86912d711d172d34a (patch) | |
tree | a0b09a6c9023e94825d468cb5bc123a7f5a3d9c1 /service/pixelated | |
parent | 1f6e072aad07e1678187bd176c24eca0182a2da2 (diff) |
Fixed pep8 warnings
Diffstat (limited to 'service/pixelated')
-rw-r--r-- | service/pixelated/config/app_factory.py | 8 | ||||
-rw-r--r-- | service/pixelated/resources/mails_resource.py | 3 | ||||
-rw-r--r-- | service/pixelated/resources/root_resource.py | 2 |
3 files changed, 1 insertions, 12 deletions
diff --git a/service/pixelated/config/app_factory.py b/service/pixelated/config/app_factory.py index 12830743..9a80640b 100644 --- a/service/pixelated/config/app_factory.py +++ b/service/pixelated/config/app_factory.py @@ -101,14 +101,6 @@ def init_app(app, leap_home): app.resource.initialize(soledad_querier, search_engine, mail_service, draft_service) - # add root to reactor - - # register(signal=proto.SOLEDAD_SYNC_RECEIVE_STATUS, - # callback=update_info_sync_and_index_partial(sync_info_controller=sync_info_controller, - # search_engine=search_engine, - # mail_service=mail_service)) - - register(signal=proto.SOLEDAD_DONE_DATA_SYNC, callback=init_index_and_remove_dupes(querier=soledad_querier, search_engine=search_engine, diff --git a/service/pixelated/resources/mails_resource.py b/service/pixelated/resources/mails_resource.py index d391382d..ccd03ad6 100644 --- a/service/pixelated/resources/mails_resource.py +++ b/service/pixelated/resources/mails_resource.py @@ -123,6 +123,3 @@ class MailsResource(Resource): pixelated_mail = self._draft_service.create_draft(_mail) self._search_engine.index_mail(pixelated_mail) return respond_json({'ident': pixelated_mail.ident}, request) - - - diff --git a/service/pixelated/resources/root_resource.py b/service/pixelated/resources/root_resource.py index 326654eb..f230415d 100644 --- a/service/pixelated/resources/root_resource.py +++ b/service/pixelated/resources/root_resource.py @@ -43,4 +43,4 @@ class RootResource(Resource): return static_folder def render_GET(self, request): - return open(os.path.join(self._static_folder, 'index.html')).read()
\ No newline at end of file + return open(os.path.join(self._static_folder, 'index.html')).read() |