Skip to content

Exception in cloudfiles ex_get_temp_object_url #10

@itsrifat

Description

@itsrifat

This line throws an exception when trying to use cloudfiles ex_get_temp_object_url.

self.driver.ex_get_object_temp_url(self._obj,  method="GET",  timeout=expires)
TypeError: unsupported operand type(s) for +: 'float' and 'str'

The value of expires is a string but looking at the apache-libcloud source code here looks like the argument timeout should be a number (int/float) rather than string.

expires = int(time() + timeout)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions