]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
sys.stderr(...) should be sys.stderr.write(), of course
authorGuido van Rossum <guido@python.org>
Wed, 4 Jan 1995 19:18:59 +0000 (19:18 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 4 Jan 1995 19:18:59 +0000 (19:18 +0000)
Demo/scripts/mboxconvert.py

index 5567173958b09daa7e6179ccfcbbc5770f4c3f1a..ff7ca6ad5e3e248c87ef5f65acdd48607be5b0b2 100755 (executable)
@@ -40,7 +40,7 @@ def main():
                        sts = dofile(f) or sts
                        f.close()
                else:
-                       sys.stderr('%s: not found\n' % arg)
+                       sys.stderr.write('%s: not found\n' % arg)
                        sts = 1
        if sts:
                sys.exit(sts)