summaryrefslogtreecommitdiffstats
path: root/Demo/tkinter/guido/ShellWindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/tkinter/guido/ShellWindow.py')
-rwxr-xr-xDemo/tkinter/guido/ShellWindow.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Demo/tkinter/guido/ShellWindow.py b/Demo/tkinter/guido/ShellWindow.py
index 6cdce0b..104e06d 100755
--- a/Demo/tkinter/guido/ShellWindow.py
+++ b/Demo/tkinter/guido/ShellWindow.py
@@ -115,11 +115,11 @@ def spawn(prog, args):
os.close(i)
except os.error:
pass
- if os.dup(p2cread) <> 0:
+ if os.dup(p2cread) != 0:
sys.stderr.write('popen2: bad read dup\n')
- if os.dup(c2pwrite) <> 1:
+ if os.dup(c2pwrite) != 1:
sys.stderr.write('popen2: bad write dup\n')
- if os.dup(c2pwrite) <> 2:
+ if os.dup(c2pwrite) != 2:
sys.stderr.write('popen2: bad write dup\n')
for i in range(3, MAXFD):
try: