[meld] ui._gtktemplate: Be as lenient as possible in the template signature
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] ui._gtktemplate: Be as lenient as possible in the template signature
- Date: Tue, 8 Jan 2019 21:45:49 +0000 (UTC)
commit a059e6cf4cb7a9ec8ecc7c7d80b7872108cdb935
Author: Kai Willadsen <kai willadsen gmail com>
Date: Wed Jan 9 07:39:08 2019 +1000
ui._gtktemplate: Be as lenient as possible in the template signature
meld/ui/_gtktemplate.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meld/ui/_gtktemplate.py b/meld/ui/_gtktemplate.py
index 72e3f36d..c1d15628 100644
--- a/meld/ui/_gtktemplate.py
+++ b/meld/ui/_gtktemplate.py
@@ -101,7 +101,7 @@ def register_template(cls):
def init_template(self, cls, base_init_template):
- self.init_template = lambda: None
+ self.init_template = lambda *args: None
if self.__class__ is not cls:
raise TypeError(
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]