In 'print_function_calls', added the framework to allow WebSubmit functions to be called with 'user_info' (a dictionary of user information) as a 4th keyword argument. This is the new model for WebSubmit functions. They should now be created and called with four parameters, thus a declaration like this: def Function_Name(parameters, curdir, form, user_info):
WebSubmit will first attempt to call the function like this:
function(parameters=parameters, curdir=curdir, form=form, user_info=user_info)
If the function is a legacy function (i.e. doesn't accept user_info),
a TypeError will be raised when WebSubmit attempts to call it. WebSubmit
will therefore try once more to call it without user_info, like this:
function(parameters=parameters, curdir=curdir, form=form)
So, from now on, all new WebSubmit functions should defined with the 4th
user_info parameter.