SyntaxError.

pull/564/head
David Wilson 6 years ago
parent a9d48a8fdc
commit a2ae4ed696

@ -211,7 +211,7 @@ class LinuxPolicy(Policy):
self._set_cpu(self._reserve_shift + ( self._set_cpu(self._reserve_shift + (
(n % max(1, (self._cpu_count() - self._reserve_shift))) (n % max(1, (self._cpu_count() - self._reserve_shift)))
) ))
def _set_cpu(self, cpu): def _set_cpu(self, cpu):
self._set_affinity(1 << cpu) self._set_affinity(1 << cpu)

Loading…
Cancel
Save