update module¶
|
|
|
- class UpdateChannel(name, desc, ver)[source]¶
Bases:
object
- property description¶
- property latest_version¶
Latest version (read-only)
- property latest_version_num¶
- property name¶
- property updates_available¶
Whether updates are available (read-only)
- property versions¶
List of versions (read-only)
- class UpdateVersion(channel, ver, notes, t)[source]¶
Bases:
object
- property channel¶
- property notes¶
- property time¶
- property version¶
- are_auto_updates_enabled()[source]¶
are_auto_updates_enabled
queries if auto updates are enabled.- Returns:
boolean True if auto updates are enabled. False if they are disabled.
- Return type:
- get_time_since_last_update_check()[source]¶
get_time_since_last_update_check
returns the time stamp for the last time updates were checked.- Returns:
time stamp for last update check
- Return type:
- install_pending_update()[source]¶
install_pending_update
installs any pending updates- Return type:
None
- is_update_installation_pending()[source]¶
is_update_installation_pending
whether an update has been downloaded and is waiting installation- Returns:
boolean True if an update is pending, false if no update is pending
- Return type: