From a2ae4ed696c03b4c50fe77e2a585827271fd7028 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Thu, 31 Jan 2019 17:07:45 +0000 Subject: [PATCH] SyntaxError. --- ansible_mitogen/affinity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible_mitogen/affinity.py b/ansible_mitogen/affinity.py index c8273d6a..d7ae45a6 100644 --- a/ansible_mitogen/affinity.py +++ b/ansible_mitogen/affinity.py @@ -211,7 +211,7 @@ class LinuxPolicy(Policy): self._set_cpu(self._reserve_shift + ( (n % max(1, (self._cpu_count() - self._reserve_shift))) - ) + )) def _set_cpu(self, cpu): self._set_affinity(1 << cpu)