openstack/python-swiftclient — pull request #4 by ncw (2012-11-18 11:10:41+00:00)
Title: Stop loss of precision when writing 'x-object-meta-mtime' 

Stop loss of precision when writing 'x-object-meta-mtime'

str(float) isn't a good way of converting a float to a string with all the precision

Eg

>>> f = os.path.getmtime("z")
>>> f
1347717491.343554
>>> str(f)
'1347717491.34'
>>> "%f" % f
'1347717491.343554'