From f45f8dd51f1349243178a21e65688f1241eda305 Mon Sep 17 00:00:00 2001 From: PCoder Date: Tue, 4 Feb 2020 11:27:59 +0530 Subject: [PATCH] Remove unused method round_up --- utils/hosting_utils.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/utils/hosting_utils.py b/utils/hosting_utils.py index aebbf717..b9e2eb8a 100644 --- a/utils/hosting_utils.py +++ b/utils/hosting_utils.py @@ -222,11 +222,6 @@ def get_ip_addresses(vm_id): return "--" -def round_up(n, decimals=0): - multiplier = 10 ** decimals - return math.ceil(n * multiplier) / multiplier - - class HostingUtils: @staticmethod def clear_items_from_list(from_list, items_list):