Changeset 36

Show
Ignore:
Timestamp:
Thu Jun 16 07:56:36 2005
Author:
fredrikc
Message:
Files:

Legend:

Unmodified
Added
Removed
Modified
  • trunk/transolution/tm/engine/testdriver.py

    r2 r36  
    1 1 #!/usr/bin/python  
    2 2  
    3   import tmx  
      3 import transolution.tmx as tmx  
    3 3 import index  
    4 4 import sys  
     
    11 11 trg_lang = u"sv-se"  
    12 12  
    13   fd = codecs.open('sv.po',"r",poenc)  
    14   tm = tmx.getTMXFromFile('sv.tmx')  
      13 fd = codecs.open(sys.argv[1],"r",poenc)  
      14 tm = tmx.getTMXFromFile(sys.argv[2])  
    15 15 tmidx = index.VectorIndex()  
    16 16 tmidx.nodesize = 40