From: Michael Tremer Date: Thu, 26 Oct 2017 15:04:58 +0000 (+0100) Subject: Rename web/handlers_search.py -> web/search.py X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b8b310ec406f0efe8268216b2807f09d565bd0e4;p=pbs.git Rename web/handlers_search.py -> web/search.py Signed-off-by: Michael Tremer --- diff --git a/Makefile.am b/Makefile.am index 6f642977..e2a29116 100644 --- a/Makefile.am +++ b/Makefile.am @@ -135,7 +135,7 @@ web_PYTHON = \ src/web/keys.py \ src/web/mirrors.py \ src/web/packages.py \ - src/web/handlers_search.py \ + src/web/search.py \ src/web/handlers_updates.py \ src/web/handlers_users.py \ src/web/ui_modules.py diff --git a/po/POTFILES.in b/po/POTFILES.in index 22b3ccf0..2082d9b3 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -170,7 +170,7 @@ src/web/jobs.py src/web/keys.py src/web/mirrors.py src/web/packages.py -src/web/handlers_search.py +src/web/search.py src/web/handlers_updates.py src/web/handlers_users.py src/web/ui_modules.py diff --git a/src/web/__init__.py b/src/web/__init__.py index 4ef915bb..fdbe2938 100644 --- a/src/web/__init__.py +++ b/src/web/__init__.py @@ -25,6 +25,7 @@ from . import jobs from . import keys from . import mirrors from . import packages +from . import search from . import ui_modules # Enable logging @@ -228,7 +229,7 @@ class Application(tornado.web.Application): (r"/documents/what-is-the-pakfire-build-service", DocsWhatsthisHandler), # Search - (r"/search", SearchHandler), + (r"/search", search.SearchHandler), # Uploads (r"/uploads", UploadsHandler), diff --git a/src/web/handlers.py b/src/web/handlers.py index ebae191e..d79f2c84 100644 --- a/src/web/handlers.py +++ b/src/web/handlers.py @@ -5,7 +5,6 @@ import tornado.web from . import base -from .handlers_search import * from .handlers_updates import * from .handlers_users import * diff --git a/src/web/handlers_search.py b/src/web/search.py similarity index 100% rename from src/web/handlers_search.py rename to src/web/search.py