Part of elisa.core.utils.update_checker View In Hierarchy
Line # | Kind | Name | Docs |
---|---|---|---|
80 | Method | __init__ | Undocumented |
94 | Method | parse_result | Parse the given data into a dictionary. The syntax for result has to be |
123 | Method | request | Request for update data and parse it |
138 | Method | start | Sets up an automatic loop of update url calls starting right now. |
233 | Method | stop | Stop any pending loop or http calls |
154 | Method | _got_response | Undocumented |
162 | Method | _response_failed | Undocumented |
170 | Method | _update_plugin_cache | Undocumented |
217 | Method | _reset_pending_call | Undocumented |
222 | Method | _auto_request | Undocumented |
250 | Method | _read_full | Undocumented |
Parse the given data into a dictionary. The syntax for result has to be a key-value pair per line separated by a colon (':'). Spaces at the beginning or the end are stripped from both the key and the value. For instance:
foo: bar test: partial maybe : maybe not
Parameters | result | the result to parse
(type: str
) |
Returns | a dictionary containing the key-value pairs
(type: dict
) |
check_interval
-seconds.Raises | AlreadyRunning | if the method was already called before. It is only allowed to call this
method once. It is mandatory to call stop
before calling start again.
|