Skip to content
Snippets Groups Projects
Commit 81f7ea25 authored by Iustin Pop's avatar Iustin Pop Committed by Guido Trotter
Browse files

Fix lint error in commit 035b33e2


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: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent 7018af9c
No related branches found
No related tags found
No related merge requests found
...@@ -184,7 +184,7 @@ def ResetTempfileModule(_time=time.time): ...@@ -184,7 +184,7 @@ def ResetTempfileModule(_time=time.time):
""" """
# pylint: disable=W0212 # pylint: disable=W0212
if ((sys.hexversion >= 0x020703F0 and sys.hexversion < 0x03000000) or 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) # Python 2.7 automatically resets the RNG on pid changes (i.e. forking)
return return
......
...@@ -48,7 +48,7 @@ class TestResetTempfileModule(unittest.TestCase): ...@@ -48,7 +48,7 @@ class TestResetTempfileModule(unittest.TestCase):
def testNoReset(self): def testNoReset(self):
if ((sys.hexversion >= 0x020703F0 and sys.hexversion < 0x03000000) or 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+ # We can't test the no_reset case on Python 2.7+
return return
# evil Debian sid... # evil Debian sid...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment