Minor fixes
This commit is contained in:
parent
98effef606
commit
9cdf994360
@ -117,8 +117,7 @@ class R3Compatibility(qubes.ext.Extension):
|
||||
|
||||
self.write_services(vm)
|
||||
|
||||
# FIXME use event after creating Xen domain object, but before "resume"
|
||||
@qubes.ext.handler('domain-start')
|
||||
@qubes.ext.handler('domain-spawn')
|
||||
def on_domain_started(self, vm, event, **kwargs):
|
||||
# pylint: disable=unused-argument
|
||||
if vm.netvm:
|
||||
|
@ -87,8 +87,6 @@ def format_doc(docstring):
|
||||
config_section=None, enable_exit_status=None)
|
||||
return pub.writer.document.astext()
|
||||
|
||||
# FIXME those are wrong, k/M/G are SI prefixes and means 10**3
|
||||
# maybe adapt https://code.activestate.com/recipes/578019
|
||||
def parse_size(size):
|
||||
units = [
|
||||
('K', 1000), ('KB', 1000),
|
||||
|
Loading…
Reference in New Issue
Block a user