diff options
| author | Ed Leafe <ed@leafe.com> | 2011-01-13 10:52:28 -0600 |
|---|---|---|
| committer | Ed Leafe <ed@leafe.com> | 2011-01-13 10:52:28 -0600 |
| commit | 22b21cde84f200f6fd45ba5f2cfcb6a54e595f1b (patch) | |
| tree | 795277d53896d7202aa46ac25940cf678b0b32e5 /nova | |
| parent | 7af8f5ac5fc02abe79dec3cf3651b6f0a9deb78c (diff) | |
| download | nova-22b21cde84f200f6fd45ba5f2cfcb6a54e595f1b.tar.gz nova-22b21cde84f200f6fd45ba5f2cfcb6a54e595f1b.tar.xz nova-22b21cde84f200f6fd45ba5f2cfcb6a54e595f1b.zip | |
Minor code cleanups
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/tests/test_xenapi.py | 2 | ||||
| -rw-r--r-- | nova/virt/xenapi/vmops.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/nova/tests/test_xenapi.py b/nova/tests/test_xenapi.py index 93afe9ce1..261ee0fde 100644 --- a/nova/tests/test_xenapi.py +++ b/nova/tests/test_xenapi.py @@ -286,6 +286,6 @@ class XenAPIDiffieHellmanTestCase(test.TestCase): enc = self.alice.encrypt(msg) dec = self.bob.decrypt(enc) self.assertEquals(dec, msg) - + def tearDown(self): super(XenAPIDiffieHellmanTestCase, self).tearDown() diff --git a/nova/virt/xenapi/vmops.py b/nova/virt/xenapi/vmops.py index 6e359ef82..6c6d25709 100644 --- a/nova/virt/xenapi/vmops.py +++ b/nova/virt/xenapi/vmops.py @@ -22,6 +22,7 @@ Management class for VM-related functions (spawn, reboot, etc). import json import M2Crypto import os +import random import subprocess import tempfile import uuid |
