[pygobject] Fix typo when raising an exception



commit c0c684c9bb4e2bc08d7cb6ac246705e8a3b77656
Author: Paolo Borelli <pborelli gnome org>
Date:   Wed Dec 8 14:16:39 2010 +0100

    Fix typo when raising an exception

 gi/types.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gi/types.py b/gi/types.py
index 1ebc194..8bf6fd7 100644
--- a/gi/types.py
+++ b/gi/types.py
@@ -107,7 +107,7 @@ class MetaClassHelper(object):
                     raise TypeError('Class implementing %s.%s should implement '
                                     'the method %s()' % (base.__info__.get_namespace(),
                                                          base.__info__.get_name(),
-                                                         vfunc_name()))
+                                                         vfunc_name))
                 elif vfunc is not None:
                     # check to see if there are vfuncs with the same name in the bases
                     # we have no way of specifying which one we are supposed to override



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