From 2a797f29aa12f6847844af504026be52db659fbb Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 27 Sep 2012 09:30:47 -0700 Subject: s4-python: Various formatting fixes. * Trailing whitespace * use of "==" where "is" should be used * double spaces --- buildtools/wafsamba/nothreads.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'buildtools/wafsamba/nothreads.py') diff --git a/buildtools/wafsamba/nothreads.py b/buildtools/wafsamba/nothreads.py index 90babf4a28..075dcd326b 100644 --- a/buildtools/wafsamba/nothreads.py +++ b/buildtools/wafsamba/nothreads.py @@ -132,8 +132,10 @@ class Parallel(object): self.frozen = [] elif not self.count: (jobs, tmp) = self.manager.get_next_set() - if jobs != None: self.maxjobs = jobs - if tmp: self.outstanding += tmp + if jobs is not None: + self.maxjobs = jobs + if tmp: + self.outstanding += tmp break def get_out(self): -- cgit