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
@@ -43,7 +43,6 @@ _force_upgrader = None
|
||||
|
||||
class Helper(object):
|
||||
"""Helper routines for modules to show progress."""
|
||||
|
||||
def __init__(self, module_name, module):
|
||||
"""Initialize the object."""
|
||||
self.module_name = module_name
|
||||
@@ -421,11 +420,9 @@ class ForceUpgrader():
|
||||
|
||||
class TemporaryFailure(Exception):
|
||||
"""Raised when upgrade fails but can be tried again immediately."""
|
||||
|
||||
class PermanentFailure(Exception):
|
||||
"""Raised when upgrade fails and there is nothing more we wish to do.
|
||||
"""
|
||||
|
||||
def __init__(self):
|
||||
"""Initialize the force upgrader."""
|
||||
if plinth.cfg.develop:
|
||||
|
||||
Reference in new issue
Block a user