Commits

Adam Lowry committed 6aeac61

Correct typo in error handler

  • Participants
  • Parent commits e83d6e6

Comments (0)

Files changed (1)

File httpdomain/sphinxcontrib/httpdomain.py

                      options={}, content=[]):
     method = str(text).lower()
     if method not in DOCREFS:
-        msg = inliner.reporter.error('%s is not valid HTTP method' % umethod,
+        msg = inliner.reporter.error('%s is not valid HTTP method' % method,
                                      lineno=lineno)
         prb = inliner.problematic(rawtext, rawtext, msg)
         return [prb], [msg]