Minor fixes

This commit is contained in:
Marek Marczykowski-Górecki 2016-06-16 16:57:44 +02:00
parent 98effef606
commit 9cdf994360
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
2 changed files with 1 additions and 4 deletions

View File

@ -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:

View File

@ -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),