From: Fredrik Tolf Date: Mon, 4 Apr 2016 00:49:03 +0000 (+0200) Subject: python3: Fixed name conflict. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=bf8c09bfa9f56c8c9023bf1f9490583ac6db61f4;p=ashd.git python3: Fixed name conflict. --- 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)