diff --git a/test/functional/swift_test_client.py b/test/functional/swift_test_client.py index 808c36b91e..7b7619841b 100644 --- a/test/functional/swift_test_client.py +++ b/test/functional/swift_test_client.py @@ -280,7 +280,7 @@ class Connection(object): def put_data(self, data, chunked=False): if chunked: - self.connection.send('%s\r\n%s\r\n' % (hex(len(data)), data)) + self.connection.send('%x\r\n%s\r\n' % (len(data), data)) else: self.connection.send(data)