[Kimchi-devel] [PATCH 1/4] support create/delete VMIface: update model

Crístian Viana vianac at linux.vnet.ibm.com
Tue Jan 21 18:22:43 UTC 2014


Am 21-01-2014 15:25, schrieb shaohef at linux.vnet.ibm.com:
> @@ -45,7 +46,7 @@ import uuid
>   from cherrypy.process.plugins import BackgroundTask
>   from cherrypy.process.plugins import SimplePlugin
>   from collections import defaultdict
> -from lxml import objectify
> +from lxml import objectify, etree
>   from xml.etree import ElementTree
Please import the elements in alphabetical order.
> +        dom.attachDeviceFlags(xml,
> +                              libvirt.VIR_DOMAIN_AFFECT_CURRENT)
The two lines above can be merged into one, it won't be longer than 80 
characters.




More information about the Kimchi-devel mailing list