From 81f7ea25fa942612873eb159e24c44e24ce84e69 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Wed, 7 Mar 2012 23:43:50 +0200 Subject: [PATCH] Fix lint error in commit 035b33e2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 035b33e2 forgot one blank space, and current pylint in Debian Sid doesn't run on our code⦠so I didn't realise this until after commit, sorry. Signed-off-by: Guido Trotter <ultrotter@google.com> Reviewed-by: Guido Trotter <ultrotter@google.com> --- lib/utils/wrapper.py | 2 +- test/tempfile_fork_unittest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils/wrapper.py b/lib/utils/wrapper.py index bedc1da55..982971e71 100644 --- a/lib/utils/wrapper.py +++ b/lib/utils/wrapper.py @@ -184,7 +184,7 @@ def ResetTempfileModule(_time=time.time): """ # pylint: disable=W0212 if ((sys.hexversion >= 0x020703F0 and sys.hexversion < 0x03000000) or - sys.hexversion >=0x030203F0): + sys.hexversion >= 0x030203F0): # Python 2.7 automatically resets the RNG on pid changes (i.e. forking) return diff --git a/test/tempfile_fork_unittest.py b/test/tempfile_fork_unittest.py index b794e33e0..6811f76f1 100755 --- a/test/tempfile_fork_unittest.py +++ b/test/tempfile_fork_unittest.py @@ -48,7 +48,7 @@ class TestResetTempfileModule(unittest.TestCase): def testNoReset(self): if ((sys.hexversion >= 0x020703F0 and sys.hexversion < 0x03000000) or - sys.hexversion >=0x030203F0): + sys.hexversion >= 0x030203F0): # We can't test the no_reset case on Python 2.7+ return # evil Debian sid... -- GitLab