From 3e0f8d32ffaec34fddc7feedd7ec1ea2fe1bac94 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Fri, 8 Aug 2014 15:15:02 +0100 Subject: Rename Instance -> DeployedSystemInstance This name requires less context to understand its use. --- scripts/release-test | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/release-test b/scripts/release-test index 1939a0d4..5ea82fa3 100755 --- a/scripts/release-test +++ b/scripts/release-test @@ -97,7 +97,7 @@ class VMHost(object): self.runcmd(['virsh', '-c', 'qemu:///system'] + list(args), **kwargs) -class Instance(object): +class DeployedSystemInstance(object): def __init__(self, deployment, config, host_machine, vm_id, rootfs_path): self.deployment = deployment @@ -250,7 +250,8 @@ class Deployment(object): config = dict(self.deployment_config) config.update(options) - return Instance(self, config, self.host_machine, vm_id, rootpath) + return DeployedSystemInstance(self, config, self.host_machine, + vm_id, rootpath) finally: shutil.rmtree(tempdir) -- cgit v1.2.1