From bf8c09bfa9f56c8c9023bf1f9490583ac6db61f4 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Mon, 4 Apr 2016 02:49:03 +0200 Subject: [PATCH] python3: Fixed name conflict. --- python3/ashd/serve.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python3/ashd/serve.py b/python3/ashd/serve.py index 7811f66..e156cd6 100644 --- a/python3/ashd/serve.py +++ b/python3/ashd/serve.py @@ -224,7 +224,7 @@ class threadpool(handler): return ret def handle(self, req): - start = False + spawn = False with self.qlk: if self.timeout is not None: now = start = time.time() @@ -239,8 +239,8 @@ class threadpool(handler): self.queue.append(req) self.qcond.notify() if len(self.waiting) < 1: - start = True - if start: + spawn = True + if spawn: with self.clk: if len(self.current) < self.max: th = reqthread(target=self.run) -- 2.11.0