mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
xend: Fix c/s 20137 -- do not redefine built-in name 'str'.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
1 parent
dc7a191f9d
commit
18e7740068
1 file changed
+3
-3
@@ -2411,10 +2411,10 @@ class XendDomainInfo:
|
||||
log.exception(e)
|
||||
|
||||
if not self.domid or self.domid < 0:
|
||||
str = 'Creating domain failed: name=%s' % self.info['name_label']
|
||||
failmsg = 'Creating domain failed: name=%s' % self.info['name_label']
|
||||
if self.domid:
|
||||
str += ', error=%i' % int(self.domid)
|
||||
raise VmError(str)
|
||||
failmsg += ', error=%i' % int(self.domid)
|
||||
raise VmError(failmsg)
|
||||
|
||||
self.dompath = GetDomainPath(self.domid)
|
||||
|
||||
|
||||