pybank r74 - in trunk: . bank
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: pybank r74 - in trunk: . bank
- Date: Thu, 25 Sep 2008 19:46:09 +0000 (UTC)
Author: walters
Date: Thu Sep 25 19:46:08 2008
New Revision: 74
URL: http://svn.gnome.org/viewvc/pybank?rev=74&view=rev
Log:
Bug 552554 - small fixes
Modified:
trunk/ChangeLog
trunk/README
trunk/bank/btypes.py
trunk/bank/module.py
Modified: trunk/README
==============================================================================
--- trunk/README (original)
+++ trunk/README Thu Sep 25 19:46:08 2008
@@ -2,7 +2,7 @@
======
Python bindings for GIRepository, still under construction, don't
-except anything to work.
+expect anything to work.
Python 2.5 is required as well as gobject-introspection 0.5.0.
Modified: trunk/bank/btypes.py
==============================================================================
--- trunk/bank/btypes.py (original)
+++ trunk/bank/btypes.py Thu Sep 25 19:46:08 2008
@@ -69,6 +69,7 @@
inArgs.append(value)
retval = self.info.invoke(*inArgs)
+ return retval
def __repr__(self):
return "<function %s>" % (self.info.getName(),)
Modified: trunk/bank/module.py
==============================================================================
--- trunk/bank/module.py (original)
+++ trunk/bank/module.py Thu Sep 25 19:46:08 2008
@@ -43,7 +43,7 @@
return [os.path.dirname(self.__file__)]
def __repr__(self):
- return "<dyn-module %r from %r>" % (self._namespace, self._repo_path)
+ return "<dyn-module %r from %r>" % (self._namespace, self._path)
def __getattr__(self, name):
type_info = repository.get_by_name(self._namespace, name)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]