Remove unused 'get_open_port' method from libvirt utils
As of the following commit: commit 71410724cd1516608ee58c37077bf9080da38de2 Author: Thierry Carrez <thierry@openstack.org> 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 <berrange@redhat.com>
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user