From fcb6817c5497d83847de1d71d2cfaa019d7ab078 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Thu, 7 May 2015 16:06:38 +0200 Subject: [PATCH] Make dummypython sleep for 30sec. --- src/modules/dummypython/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/dummypython/main.py b/src/modules/dummypython/main.py index b7be37317..8ba0e8fab 100644 --- a/src/modules/dummypython/main.py +++ b/src/modules/dummypython/main.py @@ -20,7 +20,7 @@ import libcalamares import os -from time import gmtime, strftime +from time import gmtime, strftime, sleep def run(): @@ -55,6 +55,7 @@ def run(): libcalamares.job.setprogress(0.1) libcalamares.utils.debug(accumulator) + sleep(30) # To indicate an error, return a tuple of: # (message, detailed-error-message) return None