[pygobject] Remove duplicate call to _gi.Repository.require()
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Remove duplicate call to _gi.Repository.require()
- Date: Thu, 25 Apr 2013 04:16:49 +0000 (UTC)
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]