Part of elisa.core.utils.update_checker View In Hierarchy
Line # | Kind | Name | Docs |
---|---|---|---|
50 | Method | __init__ | Undocumented |
64 | Method | parse_result | Parse the given data into a dictionary. The Syntax for result has to be a |
93 | Method | request | Request for update data and parse it |
108 | Method | start | Sets up an automatic loop of update url calls starting right now. |
151 | Method | stop | Stop any pending loop or http calls |
124 | Method | _got_response | Undocumented |
132 | Method | _response_failed | Undocumented |
140 | Method | _reset_pending_call | Undocumented |
145 | Method | _auto_request | Undocumented |
169 | Method | _read_full | Undocumented |
Parse the given data into a dictionary. The Syntax for result has to be a key-value-pair per line that is seperated by a colon (':'). Spaces at the beginning or the end are stripped from both the key and the value. e.g.: foo: bar test: partial maybe : maybe not @param result: the result to parse @type result: C{str} @return: a dictionary containing the key value pairs @rtype: C{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.
|