From f0cf3258315da307edfa4e889a81d704a8709dac Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Wed, 13 Sep 2017 11:37:57 -0400 Subject: [PATCH] Add whitespace around arithmetic operator Signed-off-by: Steve Wills --- awx/main/utils/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/utils/common.py b/awx/main/utils/common.py index 6430770ac7..5505c6592c 100644 --- a/awx/main/utils/common.py +++ b/awx/main/utils/common.py @@ -583,7 +583,7 @@ def get_system_task_capacity(): if hasattr(settings, 'SYSTEM_TASK_CAPACITY'): return settings.SYSTEM_TASK_CAPACITY mem = psutil.virtual_memory() - total_mem_value = mem.total/1024/1024 + total_mem_value = mem.total / 1024 / 1024 if int(total_mem_value) <= 2048: return 50 return 50 + ((int(total_mem_value) / 1024) - 2) * 75