Re: [PATCH] Argument number differ from overridden method



On Thu, Feb 26, 2009 at 11:05 PM, Vincent Legoll
<vincent legoll gmail com> wrote:
> So I'll rework the patch the other way around and resend.

Here it is

-- 
Vincent Legoll
Index: filediff.py
===================================================================
--- filediff.py	(revision 1183)
+++ filediff.py	(working copy)
@@ -881,12 +881,12 @@
         self.bufferdata[pane].modified = yesno
         self.recompute_label()
 
-    def save(self, *extra):
+    def save(self):
         pane = self._get_focused_pane()
         if pane >= 0:
             self.save_file(pane)
 
-    def save_as(self, *extra):
+    def save_as(self):
         pane = self._get_focused_pane()
         if pane >= 0:
             self.save_file(pane, True)


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