Remove unused method round_up
This commit is contained in:
parent
dd2eae68e6
commit
f45f8dd51f
1 changed files with 0 additions and 5 deletions
|
@ -222,11 +222,6 @@ def get_ip_addresses(vm_id):
|
||||||
return "--"
|
return "--"
|
||||||
|
|
||||||
|
|
||||||
def round_up(n, decimals=0):
|
|
||||||
multiplier = 10 ** decimals
|
|
||||||
return math.ceil(n * multiplier) / multiplier
|
|
||||||
|
|
||||||
|
|
||||||
class HostingUtils:
|
class HostingUtils:
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def clear_items_from_list(from_list, items_list):
|
def clear_items_from_list(from_list, items_list):
|
||||||
|
|
Loading…
Reference in a new issue