summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2010-09-23 20:42:19 -0600
committerCharles Harris <charlesr.harris@gmail.com>2010-09-23 20:47:01 -0600
commitb288b511bd2ab937167f9c08c3ff54c5c3a3966c (patch)
tree57ea331d5e4aacd1b7ceae3ba7e8419014e5be8c
parentb537514f7cf12225e1a8ee0a74ba2ac9b10bcc5f (diff)
downloadnumpy-b288b511bd2ab937167f9c08c3ff54c5c3a3966c.tar.gz
BUGLET: Need "\\n" in string template.
-rw-r--r--numpy/f2py/setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/f2py/setup.py b/numpy/f2py/setup.py
index aac3d33f5..37aab191c 100644
--- a/numpy/f2py/setup.py
+++ b/numpy/f2py/setup.py
@@ -62,7 +62,7 @@ for mode in ["g3-numpy", "2e-numeric", "2e-numarray", "2e-numpy"]:
except ValueError: pass
os.environ["NO_SCIPY_IMPORT"]="f2py"
if mode=="g3-numpy":
- sys.stderr.write("G3 f2py support is not implemented, yet.\n")
+ sys.stderr.write("G3 f2py support is not implemented, yet.\\n")
sys.exit(1)
elif mode=="2e-numeric":
from f2py2e import main
@@ -72,7 +72,7 @@ elif mode=="2e-numarray":
elif mode=="2e-numpy":
from numpy.f2py import main
else:
- sys.stderr.write("Unknown mode: " + repr(mode) + "\n")
+ sys.stderr.write("Unknown mode: " + repr(mode) + "\\n")
sys.exit(1)
main()
'''%(os.path.basename(sys.executable)))