From 7ed3452d10bfa51957554030425a09d029deff61 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Fri, 29 Jun 2012 16:22:13 +0100 Subject: Remove unused 'get_open_port' method from libvirt utils As of the following commit: commit 71410724cd1516608ee58c37077bf9080da38de2 Author: Thierry Carrez Date: Tue Feb 7 16:37:34 2012 +0100 Remove ajaxterm from Nova The 'get_open_port' method in the libvirt utils.py module is no longer used. Thus is can be deleted Change-Id: I837d07f82d55c54b4abd82d9bb20498a1f489f84 Signed-off-by: Daniel P. Berrange --- nova/tests/fake_libvirt_utils.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'nova/tests') diff --git a/nova/tests/fake_libvirt_utils.py b/nova/tests/fake_libvirt_utils.py index 2cd5bb75e..1467a26de 100644 --- a/nova/tests/fake_libvirt_utils.py +++ b/nova/tests/fake_libvirt_utils.py @@ -118,11 +118,6 @@ def file_delete(path): return True -def get_open_port(start_port, end_port): - # Return the port in the middle - return int((start_port + end_port) / 2) - - def get_fs_info(path): return {'total': 128 * (1024 ** 3), 'used': 44 * (1024 ** 3), -- cgit