[pygobject] Fix depreciation warning in dsextras.py
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Fix depreciation warning in dsextras.py
- Date: Sat, 16 Oct 2010 05:31:02 +0000 (UTC)
commit 544e0e4de4f5f97b0584eaf72ae8a081eca28ab6
Author: John Stowers <john stowers gmail com>
Date: Sat Oct 16 17:41:01 2010 +1300
Fix depreciation warning in dsextras.py
dsextras.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/dsextras.py b/dsextras.py
index 035c63d..c90b82e 100644
--- a/dsextras.py
+++ b/dsextras.py
@@ -346,7 +346,7 @@ class Template(object):
if not template_classes_enabled:
raise NameError("'%s' is not defined\n" % cls.__name__
+ codegen_error_message)
- return object.__new__(cls,*args, **kwds)
+ return object.__new__(cls)
def __init__(self, override, output, defs, prefix,
register=[], load_types=None, py_ssize_t_clean=False):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]