~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzr

  • Committer: Blake Winton
  • Date: 2007-10-16 16:02:01 UTC
  • mto: This revision was merged to the branch mainline in revision 2921.
  • Revision ID: bwinton@latte.ca-20071016160201-os2bci2ujf7in7an
Change 'print >> f,'s to 'f.write('s.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
                os.execvp(python, [python] + sys.argv)
44
44
            except OSError:
45
45
                pass
46
 
    print >>sys.stderr, "bzr: error: cannot find a suitable python interpreter"
47
 
    print >>sys.stderr, "  (need %d.%d or later)" % NEED_VERS
 
46
    sys.stderr.write("bzr: error: cannot find a suitable python interpreter\n")
 
47
    sys.stderr.write("  (need %d.%d or later)\n" % NEED_VERS)
48
48
    sys.exit(1)
49
49
if hasattr(os, "unsetenv"):
50
50
    os.unsetenv(REINVOKE)