add clarifying comment

This commit is contained in:
meejah 2020-02-13 06:21:42 -07:00
parent f9e3fdfaee
commit ace99a1724

View File

@ -133,6 +133,9 @@ class URIHandler(resource.Resource, object):
and creates and appropriate handler (depending on the kind of
capability it was passed).
"""
# this is in case a URI like "/uri/?cap=<valid capability>" is
# passed; returning self causes our render_GET() to be called
# which does the right thing.
if not name:
return self
try: