equal
deleted
inserted
replaced
1401 topic = topicname |
1401 topic = topicname |
1402 subtopic = None |
1402 subtopic = None |
1403 |
1403 |
1404 try: |
1404 try: |
1405 doc = helpmod.help_(u, commands, topic, subtopic=subtopic) |
1405 doc = helpmod.help_(u, commands, topic, subtopic=subtopic) |
1406 except error.UnknownCommand: |
1406 except error.Abort: |
1407 raise ErrorResponse(HTTP_NOT_FOUND) |
1407 raise ErrorResponse(HTTP_NOT_FOUND) |
1408 return tmpl('help', topic=topicname, doc=doc) |
1408 return tmpl('help', topic=topicname, doc=doc) |
1409 |
1409 |
1410 # tell hggettext to extract docstrings from these functions: |
1410 # tell hggettext to extract docstrings from these functions: |
1411 i18nfunctions = commands.values() |
1411 i18nfunctions = commands.values() |