Python string object not callable

Viewed 32193

I am not able to understand why I am getting a Type Error for the following statement

log.debug('vec : %s blasted : %s\n' %(str(vec), str(bitBlasted)))

type(vec)  is unicode
bitBlasted is a list

I am getting the following error

TypeError: 'str' object is not callable
2 Answers
Related