-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
gui: set guivm windows prefix and default_guivm tag #291
Conversation
Codecov Report
@@ Coverage Diff @@
## master #291 +/- ##
==========================================
+ Coverage 62.32% 62.32% +<.01%
==========================================
Files 49 49
Lines 8653 8656 +3
==========================================
+ Hits 5393 5395 +2
- Misses 3260 3261 +1
Continue to review full report at Codecov.
|
qubes/ext/gui.py
Outdated
|
||
# Set GuiVM prefix | ||
guivm_windows_prefix = vm.features.get('guivm-windows-prefix', 'GuiVM') | ||
if vm.features.get('service.guivm-gui-agent', None) == '1': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't need to be 1
(in practice it is, but lets be consistent). Technically it can be any value and should be evaluated to true/false according to python rules. In short: drop == '1'
.
85ca503
to
e4d3e35
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pylint complains about minor issues (see travis) - add appropriate comments to mute those.
QubesOS/qubes-issues#4186
QubesOS/qubes-issues#5662
QubesOS/qubes-issues#833