mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-23 18:35:44 -05:00
Add job.setprogress to testmodule.py.
This commit is contained in:
parent
78de11a412
commit
ef28b7f2c1
1 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,9 @@ class Job:
|
|||
self.workingPath = workingPath
|
||||
self.configuration = doc[ "configuration" ]
|
||||
|
||||
def setprogress( self, progress ):
|
||||
print ( "Job set progress to {}%.".format( progress * 100 ) )
|
||||
|
||||
# Usage: ./testmodule.py <libcalamares.so dir> <python module dir> [global_storage yaml file]
|
||||
def main( args ):
|
||||
moduledirpath = os.path.abspath( sys.argv[ 2 ] )
|
||||
|
|
Loading…
Add table
Reference in a new issue