Check that repo management succeeded

This commit is contained in:
AJ Jordan 2019-04-09 03:57:03 -04:00
parent 047cfbc407
commit 8f9989a61d
No known key found for this signature in database
GPG Key ID: 26794034633DBBC0

View File

@ -51,7 +51,8 @@ def _run_qrexec_repo(service, arg=''):
def _manage_repos(repolist, action):
for i in repolist:
_run_qrexec_repo('qubes.repos.' + action, i) == 'ok\n'
result = _run_qrexec_repo('qubes.repos.' + action, i)
assert result == 'ok\n'
def _handle_dom0_updates_combobox(idx):
idx += 1