[Jython-checkins] jython: Cleanup of previous commit.
stefan.richthofer
jython-checkins at python.org
Sun Feb 5 17:59:37 EST 2017
https://hg.python.org/jython/rev/1562e8943e3e
changeset: 8015:1562e8943e3e
user: Stefan Richthofer <stefan.richthofer at gmx.de>
date: Sun Feb 05 23:58:53 2017 +0100
summary:
Cleanup of previous commit.
files:
Misc/make_ucnhashdat.py | 2 +-
src/org/python/modules/ucnhash.java | 2 --
2 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/Misc/make_ucnhashdat.py b/Misc/make_ucnhashdat.py
--- a/Misc/make_ucnhashdat.py
+++ b/Misc/make_ucnhashdat.py
@@ -4,7 +4,7 @@
# Generate a ucnhash.dat file with mapping from unicode
# names to codepoints.
#
-# python make_ucnhashdata.py UnicodeData.txt mph.exe
+# python make_ucnhashdat.py UnicodeData.txt mph.exe
#
# The "mph" program must be available on the path.
# This program is used to create the minimum perfect
diff --git a/src/org/python/modules/ucnhash.java b/src/org/python/modules/ucnhash.java
--- a/src/org/python/modules/ucnhash.java
+++ b/src/org/python/modules/ucnhash.java
@@ -464,7 +464,6 @@
// From the ucnhashAPI interface
public int getValue(String s, int start, int end) {
if (!initialized()) {
- System.out.println(349+" ucnhash Not initialized!");
return -1;
}
@@ -474,7 +473,6 @@
int v = Integer.parseInt(hex, 16);
return v;
} catch (NumberFormatException exc) {
- System.out.println(359+" exc");
return -1; // Maybe fall through to the main algorithm.
}
}
--
Repository URL: https://hg.python.org/jython
More information about the Jython-checkins
mailing list