
21 Jan
2014
21 Jan
'14
6:22 p.m.
Am 21-01-2014 15:25, schrieb shaohef@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.