WebDeposit: Python-2.6 compatibility fix
Reported-by: Tibor Simko <tibor.simko@cern.ch> Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>