Commits

Anonymous committed 8fc7e31

Partial merge of r2096 from /trunk for #891

  • Participants
  • Parent commits b9729d2
  • Branches cherrypy-3.0.x

Comments (0)

Files changed (1)

cherrypy/_cpchecker.py

             finally:
                 warnings.formatwarning = oldformatwarning
     
-    def formatwarning(self, message, category, filename, lineno):
+    def formatwarning(self, message, category, filename, lineno, line=None):
         """Function to format a warning."""
         return "CherryPy Checker:\n%s\n\n" % message