Cope with non-integer domids (i.e. None) in the error message surrounding

save/restore.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
Ewan Mellor committed 2006-11-27 20:04:20 +00:00
1 parent da38d1f64b
commit 1c06df3dbb
1 file changed
+1 -1
+1 -1
View File
@@ -100,7 +100,7 @@ def save(fd, dominfo, network, live, dst):
dominfo.setName(domain_name)
except Exception, exn:
log.exception("Save failed on domain %s (%d).", domain_name,
log.exception("Save failed on domain %s (%s).", domain_name,
dominfo.getDomid())
try:
dominfo.setName(domain_name)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.