[gexiv2] Fix broken Python bindings on Trusty: Closes bug #728909
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gexiv2] Fix broken Python bindings on Trusty: Closes bug #728909
- Date: Fri, 25 Apr 2014 19:22:52 +0000 (UTC)
commit 7454eebd2ac7e528c3273085b39818185a34c6e2
Author: Robert Park <r robru ca>
Date: Fri Apr 25 12:21:59 2014 -0700
Fix broken Python bindings on Trusty: Closes bug #728909
This patch fixes binding issues on Trusty but maintains compatbility
with GIR/Python on Saucy.
GExiv2.py | 8 ++++----
THANKS | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/GExiv2.py b/GExiv2.py
index 789065e..3bab147 100644
--- a/GExiv2.py
+++ b/GExiv2.py
@@ -1,7 +1,7 @@
# -*- Mode: Python; py-indent-offset: 4 -*-
# vim: tabstop=4 shiftwidth=4 expandtab
#
-# Copyright (C) 2012 Robert Park <rbpark exolucere ca>
+# Copyright (C) 2012 Robert Park <r robru ca>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -21,12 +21,12 @@
from datetime import datetime
from fractions import Fraction
-from gi import _glib
from gi.repository import GObject
from ..overrides import override
-from ..importer import modules
+from ..module import get_introspection_module
+
+GExiv2 = get_introspection_module('GExiv2')
-GExiv2 = modules['GExiv2']._introspection_module
__all__ = []
DATE_FORMAT = '%Y:%m:%d %H:%M:%S'
diff --git a/THANKS b/THANKS
index 2b432cb..9346e9c 100644
--- a/THANKS
+++ b/THANKS
@@ -6,7 +6,7 @@ Luca Falavigna <dktrkranz debian org>
Petr Morávek <petr pada cz>
Michael Natterer <mitch gimp org>
Jehan Pagès <jehan marmottard gmail com>
-Robert Park <rbpark exolucere ca>
+Robert Park <r robru ca>
Michael Pratt <michael prattmic com>
John Ralls <jralls ceridwen us>
Akhil Ravidas <deepblue ar gmail com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]