summaryrefslogtreecommitdiffstats
path: root/util/locale_database/xpathlite.py
diff options
context:
space:
mode:
Diffstat (limited to 'util/locale_database/xpathlite.py')
-rw-r--r--util/locale_database/xpathlite.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/util/locale_database/xpathlite.py b/util/locale_database/xpathlite.py
index 97efaaab41..3da8b24656 100644
--- a/util/locale_database/xpathlite.py
+++ b/util/locale_database/xpathlite.py
@@ -31,6 +31,8 @@ import sys
import os
import xml.dom.minidom
+from localetools import Error
+
class DraftResolution:
# See http://www.unicode.org/cldr/process.html for description
unconfirmed = 'unconfirmed'
@@ -43,12 +45,6 @@ class DraftResolution:
def toInt(self):
return DraftResolution._values[self.resolution]
-class Error:
- def __init__(self, msg):
- self.msg = msg
- def __str__(self):
- return self.msg
-
doc_cache = {}
def parseDoc(file):
if not doc_cache.has_key(file):