1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: Properly import the module in overrides
The importation of the v_sim module in the override files was not following
the proper Gobject Introspection convention, making 'import gi.overrides.v_sim'
failed before patch.
Bug-Debian: https://bugs.debian.org/896226
--- v-sim-3.7.2.orig/lib/plug-ins/python-gi/v_sim.py
+++ v-sim-3.7.2/lib/plug-ins/python-gi/v_sim.py
@@ -43,9 +43,9 @@
# find a copy of this licence shipped with this software at
# Documentation/licence.en.txt.
-from ..importer import modules
+from ..module import get_introspection_module
-v_sim = modules['v_sim']
+v_sim = get_introspection_module('v_sim')
class VisuNodeArrayIter:
def __init__(self, nodes, kind = v_sim.NodeArrayIterType.NODES_BY_TYPE):
|