]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
yikes return the modname if no lookup found...
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 21 Aug 2013 21:14:04 +0000 (17:14 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 21 Aug 2013 21:14:19 +0000 (17:14 -0400)
doc/build/builder/autodoc_mods.py

index 25d1398647ff140237c20e4ff05d71b02f341ecb..93e2596be73b9c158831598cfde6ccd8a87d8f06 100644 (file)
@@ -30,6 +30,8 @@ def _adjust_rendered_mod_name(modname, objname):
         return _convert_modname[modname]
     elif (modname, objname) in _convert_modname_w_class:
         return _convert_modname_w_class[(modname, objname)]
+    else:
+        return modname
 
 # im sure this is in the app somewhere, but I don't really
 # know where, so we're doing it here.