Logo Search packages:      
Sourcecode: nautilus-image-manipulator version File versions  Download package

def nautilus_image_manipulator::upload::poster::streaminghttp::register_openers (  )
Register the streaming http handlers in the global urllib2 default
opener object.

Returns the created OpenerDirector object.

Definition at line 190 of file streaminghttp.py.

                      :
    """Register the streaming http handlers in the global urllib2 default
    opener object.

    Returns the created OpenerDirector object."""
    opener = urllib2.build_opener(*get_handlers())

    urllib2.install_opener(opener)

    return opener

Generated by  Doxygen 1.6.0   Back to index