Files
@ 31250d5e3c6a
Branch filter:
Location: kallithea/docs/dev/dbmigrations.rst
31250d5e3c6a
2.9 KiB
text/prs.fallenstein.rst
vcs: avoid node base class knowledge of sub classes
Pytype very reasonably got confused over the sub class property references in
the base class.
Fixed by moving base class specific parts of comparison to the sub classes and
calling the base class.
With .content only referenced in FileNode, there is even less need for an
explicitly failing .content getter for DirNode.
Pytype very reasonably got confused over the sub class property references in
the base class.
Fixed by moving base class specific parts of comparison to the sub classes and
calling the base class.
With .content only referenced in FileNode, there is even less need for an
explicitly failing .content getter for DirNode.