``install_pending_update`` installs any pending updates :rtype: None
()
| 286 | |
| 287 | |
| 288 | def install_pending_update(): |
| 289 | """ |
| 290 | ``install_pending_update`` installs any pending updates |
| 291 | |
| 292 | :rtype: None |
| 293 | """ |
| 294 | errors = ctypes.c_char_p() |
| 295 | core.BNInstallPendingUpdate(errors) |
| 296 | if errors: |
| 297 | error_str = errors.value |
| 298 | core.free_string(errors) |
| 299 | raise IOError(error_str) |
| 300 | |
| 301 | |
| 302 | def updates_checked(): |