python2.4 compatibility

TypeError: 'str' object is not callable