Commits

Hong Minhee committed 81b1962 Merge

Merged in prmtl/sphinx-contrib/httpdomain-fix (pull request #23)

Fixed issue with undefined 'Value' and 'umethod' vars.

  • Participants
  • Parent commits 4607e19, 9daff75

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]