Syntax cleanup == None -> is None

This commit is contained in:
Florent Xicluna 2010-03-25 20:32:07 +00:00
parent ff33e2f5e9
commit c8a730bf72
2 changed files with 6 additions and 6 deletions

View file

@ -350,7 +350,7 @@ class ModifiedInterpreter(InteractiveInterpreter):
rpcpid = None
def spawn_subprocess(self):
if self.subprocess_arglist == None:
if self.subprocess_arglist is None:
self.subprocess_arglist = self.build_subprocess_arglist()
args = self.subprocess_arglist
self.rpcpid = os.spawnv(os.P_NOWAIT, sys.executable, args)