[liblouis-liblouisxml] [liblouis] r746 committed - tests/runHarness.py: fix another typo.

  • From: liblouis@xxxxxxxxxxxxxx
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Thu, 19 Jul 2012 10:31:07 +0000

Revision: 746
Author:   mesar.hameed@xxxxxxxxx
Date:     Thu Jul 19 03:30:53 2012
Log:      tests/runHarness.py: fix another typo.
http://code.google.com/p/liblouis/source/detail?r=746

Modified:
 /trunk/tests/runHarness.py

=======================================
--- /trunk/tests/runHarness.py  Thu Jul 19 02:50:19 2012
+++ /trunk/tests/runHarness.py  Thu Jul 19 03:30:53 2012
@@ -131,7 +131,7 @@
# FIXME: liblouis currently crashes if we dont add space at end of the word, probably due to a counter running past the end of the string. # medium/longterm this hack should be removed, and the root of the problem found/resolved.
         hyphen_mask=hyphenate(tables, word+' ', mode)
- return "".join( list(map(lambda a,b: "-"+a if b=='1' else a, word, hyphen_mask))[:-1] ) + return "".join( list(map(lambda a,b: "-"+a if b=='1' else a, word, hyphen_mask)))

     def check_translate(self):
         if self.cursorPos is not None:
For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts:

  • » [liblouis-liblouisxml] [liblouis] r746 committed - tests/runHarness.py: fix another typo. - liblouis