[KoCo-CVS] [Commit] cjkcodecs/tools genmap_support.py
Brought to you by:
perky
From: Hye-Shik C. <pe...@us...> - 2003-07-06 18:44:42
|
perky 03/07/06 11:44:41 Modified: tools genmap_support.py Log: Remove needless old code Revision Changes Path 1.8 +2 -6 cjkcodecs/tools/genmap_support.py Index: genmap_support.py =================================================================== RCS file: /cvsroot/koco/cjkcodecs/tools/genmap_support.py,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- genmap_support.py 10 Jun 2003 11:12:12 -0000 1.7 +++ genmap_support.py 6 Jul 2003 18:44:41 -0000 1.8 @@ -26,14 +26,14 @@ # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # -# $Id: genmap_support.py,v 1.7 2003/06/10 11:12:12 perky Exp $ +# $Id: genmap_support.py,v 1.8 2003/07/06 18:44:41 perky Exp $ # import re COPYRIGHT_HEADER = """\ /* - * $Id: genmap_support.py,v 1.7 2003/06/10 11:12:12 perky Exp $ + * $Id: genmap_support.py,v 1.8 2003/07/06 18:44:41 perky Exp $ */ """ @@ -141,10 +141,6 @@ print >> fo def loadmap(fo, natcol=0, unicol=1, sbcs=0): - fo.seek(0, 0) - head = fo.read(1024) - - fo.seek(0, 0) decmap = {} for line in fo: line = line.split('#', 1)[0].strip() |