Add job.setprogress to testmodule.py.

This commit is contained in:
Teo Mrnjavac 2014-07-23 13:01:30 +02:00
parent 78de11a412
commit ef28b7f2c1

View file

@ -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 ] )