summaryrefslogtreecommitdiffstats
path: root/util/locale_database/localetools.py
diff options
context:
space:
mode:
Diffstat (limited to 'util/locale_database/localetools.py')
-rw-r--r--util/locale_database/localetools.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/locale_database/localetools.py b/util/locale_database/localetools.py
index b50f5a8ee3..a33ace4eb1 100644
--- a/util/locale_database/localetools.py
+++ b/util/locale_database/localetools.py
@@ -16,6 +16,9 @@ from contextlib import ExitStack, contextmanager
from pathlib import Path
from tempfile import NamedTemporaryFile
+qtbase_root = Path(__file__).parents[2]
+assert qtbase_root.name == 'qtbase'
+
class Error (Exception):
def __init__(self, msg, *args):
super().__init__(msg, *args)