[pypy-svn] r78808 - pypy/branch/fast-forward/pypy/module/unicodedata
arigo at codespeak.net
arigo at codespeak.net
Sun Nov 7 13:54:07 CET 2010
Author: arigo
Date: Sun Nov 7 13:54:05 2010
New Revision: 78808
Modified:
pypy/branch/fast-forward/pypy/module/unicodedata/generate_unicodedb.py
Log:
A "sorted()" was missing, producing hard-to-understand diffs whenever
we regenerate the unicodedb_x_y_z file.
Modified: pypy/branch/fast-forward/pypy/module/unicodedata/generate_unicodedb.py
==============================================================================
--- pypy/branch/fast-forward/pypy/module/unicodedata/generate_unicodedb.py (original)
+++ pypy/branch/fast-forward/pypy/module/unicodedata/generate_unicodedb.py Sun Nov 7 13:54:05 2010
@@ -207,7 +207,7 @@
print >> outfile, '}'
print >> outfile
print >> outfile, '%s_corrected = {' % name
- for key in base_dict:
+ for key in sorted(base_dict):
if key not in dictionary:
print >> outfile, '%r: None,' % key
print >> outfile, '}'
More information about the Pypy-commit
mailing list