New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API "is_running" returns inconsistent int/bool #3617

Closed
tasket opened this Issue Feb 21, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@tasket

tasket commented Feb 21, 2018

Qubes OS version:

R4.0-rc4


Steps to reproduce the behavior:

>>> import qubes
>>> vms = qubes.Qubes().domains
>>> for i in vms:
>>>     print( i.is_running)

Expected behavior:

All values returned are True or False.

Actual behavior:

Most values are '0' or '1' but True/False for dom0.


Related issues:

@tasket tasket referenced this issue in QubesOS/qubes-core-admin Feb 21, 2018

Merged

Fix is_running non-boolean #195

@tasket

This comment has been minimized.

Show comment
Hide comment

@andrewdavidwong andrewdavidwong added this to the Release 4.0 milestone Feb 21, 2018

@tasket tasket closed this Mar 21, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment