]> 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:04 +0000 (17:14 -0400)
doc/build/builder/autodoc_mods.py

index 30eb0d068e59667bd151e9f5c1d3d80db362571d..e4841bbbc7dc70af7a733b7053a8f115abff0c12 100644 (file)
@@ -22,6 +22,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.