mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
fix formatting issues
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
fa74a26042
commit
eb83e00011
134 files changed
+598
-720
No files matched your search
@@ -54,9 +54,9 @@ class ApacheApp(app_module.App):
|
||||
|
||||
freedombox_ports = Firewall(
|
||||
'firewall-plinth',
|
||||
format_lazy(
|
||||
_('{box_name} Web Interface (Plinth)'), box_name=_(
|
||||
cfg.box_name)), ports=['http', 'https'], is_external=True)
|
||||
format_lazy(_('{box_name} Web Interface (Plinth)'),
|
||||
box_name=_(cfg.box_name)), ports=['http', 'https'],
|
||||
is_external=True)
|
||||
self.add(freedombox_ports)
|
||||
|
||||
letsencrypt = LetsEncrypt('letsencrypt-apache', domains='*',
|
||||
|
||||
@@ -23,7 +23,6 @@ from plinth import action_utils, actions, app
|
||||
|
||||
class Webserver(app.LeaderComponent):
|
||||
"""Component to enable/disable Apache configuration."""
|
||||
|
||||
def __init__(self, component_id, web_name, kind='config'):
|
||||
"""Initialize the web server component.
|
||||
|
||||
@@ -62,7 +61,6 @@ class Webserver(app.LeaderComponent):
|
||||
|
||||
class Uwsgi(app.LeaderComponent):
|
||||
"""Component to enable/disable uWSGI configuration."""
|
||||
|
||||
def __init__(self, component_id, uwsgi_name):
|
||||
"""Initialize the uWSGI component.
|
||||
|
||||
|
||||
@@ -14,10 +14,8 @@
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
"""
|
||||
URLs for the Apache module.
|
||||
"""
|
||||
|
||||
urlpatterns = [
|
||||
]
|
||||
urlpatterns = []
|
||||
Reference in new issue
Block a user