SyntaxError.

This commit is contained in:
David Wilson 2019-01-31 17:07:45 +00:00
parent a9d48a8fdc
commit a2ae4ed696
1 changed files with 1 additions and 1 deletions

View File

@ -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)