Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
donob4n committed Mar 17, 2019
2 parents 6469dd8 + 9d4eed6 commit 8816a76
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions qubesmanager/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ def update_pv_warning(self):
def update_virt_mode_list(self):
choices = ['HVM', 'PV']

if hasattr(self, 'dev_list'):
if hasattr(self, "dev_list"):
devs_attached = self.dev_list.selected_list.count() != 0
else:
devs_attached = bool(list(self.vm.devices['pci'].persistent()))
Expand All @@ -866,7 +866,7 @@ def update_virt_mode_list(self):
choices.insert(0, 'PVH')
self.pvh_mode_hidden.hide()

if hasattr(self, 'virt_mode_list'):
if self.virt_mode_list:
old_mode = self.selected_virt_mode()
self.virt_mode.currentIndexChanged.disconnect()
else:
Expand Down
2 changes: 1 addition & 1 deletion qubesmanager/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def get_path_from_vm(vm, service_name):

if not untrusted_path:
return None
if path_re.match(untrusted_path):
if path_re.fullmatch(untrusted_path):
assert '../' not in untrusted_path
assert '\0' not in untrusted_path
return untrusted_path.strip()
Expand Down
2 changes: 1 addition & 1 deletion ui/restoredlg.ui
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ p, li { white-space: pre-wrap; }
<item>
<widget class="QLabel" name="dom0_restored_label">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;WARNING: restored dom0 files are located in ~/backup-restore-&amp;lt;timestamp&amp;gt; directory&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;WARNING: restored dom0 files are located in ~/home-restore-&amp;lt;timestamp&amp;gt; directory&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.27
4.0.31

0 comments on commit 8816a76

Please sign in to comment.