I have just found bug in mod_scripting plugin. On line 299 there is a call to method
299: b = self.createAtButtonFromSettingHelper (h,script,statusLine,shortcut) but, that method has following declaration on line 301 301: def createAtButtonFromSettingHelper (self,args,h,script,statusLine,shortcut,bg='LightSteelBlue2'): As you can see that method has declared at least 6 arguments, but in calling line there are just 5 arguments (invisible self + 4 others). I have looked few lines after and found that args from method declaration is never used in method body. Actually original value of that argument is rewritten in line 310 310: args = self.getArgs(h) So, imo, declaration of method should be changed like this def createAtButtonFromSettingHelper (self,h,script,statusLine,shortcut,bg='LightSteelBlue2'): Vitalije. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~----------~----~----~----~------~----~------~--~---
