Commits

Georg Brandl  committed 5351a20

#597: fix list of exceptions to catch.

  • Participants
  • Parent commits 6fd0bad

Comments (0)

Files changed (1)

File sphinx/ext/inheritance_diagram.py

         """
         try:
             path, base = class_sig_re.match(name).groups()
-        except ValueError:
+        except (AttributeError, ValueError):
             raise InheritanceException('Invalid class or module %r specified '
                                        'for inheritance diagram' % name)