Root/makfa/patches/02-pyexpat.patch

1--- a/makfa 2010-09-14 20:40:00.000000000 -0600
2+++ b/makfa 2010-09-14 20:37:31.000000000 -0600
3@@ -8,7 +8,6 @@
4 import sys
5 import textwrap
6 import urllib
7-import xml.etree.cElementTree as etree
8 
9 
10 
11@@ -486,6 +485,7 @@
12 class Updater(object):
13 
14     def __init__(self, lang='en', filename='/usr/share/makfa/makfa.dump'):
15+ import xml.etree.cElementTree as etree
16         self.db = {'order': [], 'entries': {}}
17         url = 'http://jbovlaste.lojban.org/export/xml-export.html?lang=%s'
18         tree = etree.parse(urllib.urlopen(url % lang))
19

Archive Download this file



interactive