summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@gnome.org>2014-04-01 09:53:21 +0200
committerThibault Saunier <tsaunier@gnome.org>2014-04-01 09:56:13 +0200
commitedd21362f63ddb24d504839382ab86e0ab1563ca (patch)
treefbae40fa9f3f7d3dfc200b19f035ceafa8275d67
parentb8702b239f357818c110789c8e689eea379bb76d (diff)
overrides: Import the _gi_gst module relative
We always expect it to be in the same directory and it fixes its import with python3 https://bugzilla.gnome.org/show_bug.cgi?id=726921
-rw-r--r--gi/overrides/Gst.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/overrides/Gst.py b/gi/overrides/Gst.py
index cace5c8..48c29f9 100644
--- a/gi/overrides/Gst.py
+++ b/gi/overrides/Gst.py
@@ -272,7 +272,7 @@ def TIME_ARGS(time):
time % Gst.SECOND)
__all__.append('TIME_ARGS')
-import _gi_gst
+from . import _gi_gst
_gi_gst
# maybe more python and less C some day if core turns a bit more introspection