I am getting the following error,it says not enough arguments,am already passing two arguments…what is wrong here?
check_call("rm -rf %s/%s/*" % SCRIPT_ROOT % W_ROOT,shell=True)
TypeError: not enough arguments for format string
You can’t do the formatting in two steps like that. You need to use one
%operator and pass a tuple: