bitkeeper revision 1.1159.127.2 (41780e5c-RsPtK5gKwQvWEW2Vv26oQ)

Use a default name if we don't know the name of a domain anymore.
This commit is contained in:
cl349@freefall.cl.cam.ac.uk committed 2004-10-21 19:30:36 +00:00
1 parent ff9da5b2e5
commit 03aec42dae
1 file changed
+1 -1
+1 -1
View File
@@ -236,7 +236,7 @@ def vm_recreate(savedinfo, info):
if config:
d = vm.construct(config)
else:
vm.name = sxp.child_value(savedinfo, 'name')
vm.name = sxp.child_value(savedinfo, 'name', "Domain-%d" % info['dom'])
d = defer.succeed(vm)
vm.recreate = 0
return d
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.