Random Project

Error after updating from python 2.6.5 to 2.7

With the openSUSE Update from 11.3 to 11.4 python was updated from 2.6 to 2.7. Now I get these errors:
Traceback (most recent call last):
File “./check_esxi_hardware.py”, line 544, in
instance_list = wbemclient.EnumerateInstances(classe)
File “/usr/lib/python2.7/site-packages/pywbem/cim_operations.py”, line 404, in EnumerateInstances
**params)
File “/usr/lib/python2.7/site-packages/pywbem/cim_operations.py”, line 168, in imethodcall
verify_callback = self.verify_callback)
File “/usr/lib/python2.7/site-packages/pywbem/cim_http.py”, line 184, in wbem_request
h.putheader(‘Content-length’, len(data))
File “/usr/lib64/python2.7/httplib.py”, line 924, in putheader
str = ‘%s: %s’ % (header, ‘rnt’.join(values))
TypeError: sequence item 0: expected string, int found