Commits

Adam Lowry committed 6aeac61

Correct typo in error handler

Comments (0)

Files changed (1)

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]