ibus-table/ibus-table-1.2.0.20090904-2.equalsign.patch
2010-01-06 02:22:27 +00:00

16 lines
793 B
Diff

diff -up ibus-table-1.2.0.20090912/engine/tabcreatedb.py.orig ibus-table-1.2.0.20090912/engine/tabcreatedb.py
--- ibus-table-1.2.0.20090912/engine/tabcreatedb.py.orig 2010-01-06 12:14:40.098086168 +1000
+++ ibus-table-1.2.0.20090912/engine/tabcreatedb.py 2010-01-06 12:14:57.293835609 +1000
@@ -173,9 +173,9 @@ def main ():
def attribute_parser (f):
for l in f:
try:
- attr,val = unicode (l,"utf-8").strip().split ('=')
+ attr,val = unicode (l,"utf-8").strip().split ('=', 1)
except:
- attr,val = unicode (l,"utf-8").strip().split ('==')
+ attr,val = unicode (l,"utf-8").strip().split ('==', 1)
attr = attr.strip()
origin_attr = attr
attr = attr.lower()