Add job.setprogress to testmodule.py.

main
Teo Mrnjavac 11 years ago
parent 78de11a412
commit ef28b7f2c1

@ -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…
Cancel
Save