Homec4science

Bug Fix: If a WebSubmit function returns a NoneType (or indeed a non-string)…

Authored by Nicholas Robinson <nicholas.robinson@cern.ch> on Mar 20 2007, 15:15.

Description

Bug Fix: If a WebSubmit function returns a NoneType (or indeed a non-string), it no longer causes a TypeError due to concatenation of strings with non-strings when creating page containing the output of functions. NoneTypes returned by functions are now replaced with an empty string, and all other return values are casted to a strings;

Event Timeline

Nicholas Robinson <nicholas.robinson@cern.ch> committed R3600:7a4c07fce4f0: Bug Fix: If a WebSubmit function returns a NoneType (or indeed a non-string)… (authored by Nicholas Robinson <nicholas.robinson@cern.ch>).Mar 20 2007, 15:15