|
|
|
@ -43,6 +43,10 @@ _ = gettext.translation("calamares-python",
|
|
|
|
def pretty_name():
|
|
|
|
def pretty_name():
|
|
|
|
return _("Dummy python job.")
|
|
|
|
return _("Dummy python job.")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
status = _("Dummy python step {}").format(0)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def pretty_status_message():
|
|
|
|
|
|
|
|
return status
|
|
|
|
|
|
|
|
|
|
|
|
def run():
|
|
|
|
def run():
|
|
|
|
"""Dummy python job."""
|
|
|
|
"""Dummy python job."""
|
|
|
|
@ -92,8 +96,10 @@ def run():
|
|
|
|
except KeyError:
|
|
|
|
except KeyError:
|
|
|
|
configlist = ["no list"]
|
|
|
|
configlist = ["no list"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
global status
|
|
|
|
c = 1
|
|
|
|
c = 1
|
|
|
|
for k in configlist:
|
|
|
|
for k in configlist:
|
|
|
|
|
|
|
|
status = _("Dummy python step {}").format(str(c) + ":" + repr(k))
|
|
|
|
libcalamares.utils.debug(_("Dummy python step {}").format(str(k)))
|
|
|
|
libcalamares.utils.debug(_("Dummy python step {}").format(str(k)))
|
|
|
|
sleep(1)
|
|
|
|
sleep(1)
|
|
|
|
libcalamares.job.setprogress(c * 1.0 / len(configlist))
|
|
|
|
libcalamares.job.setprogress(c * 1.0 / len(configlist))
|
|
|
|
|