summaryrefslogtreecommitdiff
path: root/gi/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'gi/__init__.py')
-rw-r--r--gi/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gi/__init__.py b/gi/__init__.py
index d4da310..e6bc06e 100644
--- a/gi/__init__.py
+++ b/gi/__init__.py
@@ -25,8 +25,10 @@ from ._gi import _API, Repository
# Force loading the GObject typelib so we have available the wrappers for
# base classes such as GInitiallyUnowned
import gi._gobject
+import os
_versions = {}
+_overridesdir = os.path.join(os.path.dirname(__file__), 'overrides')
def require_version(namespace, version):
repository = Repository.get_default()