summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-08-14 07:56:21 +0000
committerGerrit Code Review <review@openstack.org>2012-08-14 07:56:21 +0000
commiteac3d00b1775105cb67e8e2a2dcd94112fa0e6d6 (patch)
tree58471d4a9db9f300916139d3ca196538bc0af667
parent338564dbc577504ff7d08a20eb21b616bd39a1fe (diff)
parent867c9b76c3cb1333d807d912de11c7965d72c405 (diff)
Merge "Change time.sleep to greenthread.sleep"
-rw-r--r--nova/virt/libvirt/driver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/libvirt/driver.py b/nova/virt/libvirt/driver.py
index a4a83a739..836f8a34b 100644
--- a/nova/virt/libvirt/driver.py
+++ b/nova/virt/libvirt/driver.py
@@ -2554,7 +2554,7 @@ class LibvirtDriver(driver.ComputeDriver):
LOG.warn(_("plug_vifs() failed %(cnt)d."
"Retry up to %(max_retry)d for %(hostname)s.")
% locals())
- time.sleep(1)
+ greenthread.sleep(1)
def pre_block_migration(self, ctxt, instance_ref, disk_info_json):
"""Preparation block migration.