[pygobject] Remove duplicate call to _gi.Repository.require()



commit 8104fa04cac2cba74337e6c4b3ecf56fd6cbb80b
Author: Niklas Koep <niklas koep gmail com>
Date:   Thu Apr 25 06:14:12 2013 +0200

    Remove duplicate call to _gi.Repository.require()
    
    repository.require() was called twice in IntrospectionModule's constructor.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=698797

 gi/module.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gi/module.py b/gi/module.py
index db5adf5..dd0a90a 100644
--- a/gi/module.py
+++ b/gi/module.py
@@ -119,7 +119,6 @@ class IntrospectionModule(object):
         self._version = version
         self.__name__ = 'gi.repository.' + namespace
 
-        repository.require(self._namespace, self._version)
         self.__path__ = repository.get_typelib_path(self._namespace)
         if _have_py3:
             # get_typelib_path() delivers bytes, not a string


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]