Use namedtuple for RevCache in PyGIT module
|Reported by:||Ryan J Ollos||Owned by:||Jun Omae|
Description (last modified by )
There is a refactoring task captured in this comment: tags/trac-1.0.4/tracopt/versioncontrol/git/PyGIT.py@:245-250#L241.
namedtuple is actually available since Python 2.6, however we cannot simply replace the class since it has been extended with methods in . We can, however, inherit from a
namedtuple and implement the methods from .
Change History (6)
comment:4 by , 7 years ago
|Milestone:||1.1.5 → 1.0.6|
|Release Notes:||modified (diff)|
|Status:||new → assigned|