[PATCH 2 of 4] setup: make script executable with python3
Simon Heimberg
simohe at besonet.ch
Fri Nov 11 19:16:55 CST 2011
# HG changeset patch
# User Simon Heimberg <simohe at besonet.ch>
# Date 1321060075 -3600
# Node ID b00d6951b99eb5d81e2f5ce341b8a3d6e84f9601
# Parent 708a7cb16651fc0916bef79c0ad89ad1144900eb
setup: make script executable with python3
Replace the incompatible print statement. Writing a warning to stderr is a good
idea anyway.
diff -r 708a7cb16651 -r b00d6951b99e setup.py
--- a/setup.py Die Nov 01 20:13:53 2011 +0100
+++ b/setup.py Sam Nov 12 02:07:55 2011 +0100
@@ -44,7 +44,7 @@
pass
if isironpython:
- print "warning: IronPython detected (no bz2 support)"
+ sys.stderr.write("warning: IronPython detected (no bz2 support)\n")
else:
try:
import bz2
More information about the Mercurial-devel
mailing list