ejwa / gitinspector

:bar_chart: The statistical analysis tool for git repositories

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AttributeError: 'Commit' object has no attribute 'timestamp'

yoshivda opened this issue · comments

When running gitinspector (on a non-public repository) I get the following error:

File "[path]/changes.py", line 82, in __lt__
    return self.timestamp.__lt__(other.timestamp) # only used for sorting; we just consider the timestamp.
AttributeError: 'Commit' object has no attribute 'timestamp'

The call to Commit.__init__ is made with an empty string, but I have no clue why.

@yoshivda - just had the same problem, which I got rid with this workaround: #118 (comment)