Browse Source

Another bugfix.

tags/v1.0^2
Ben Kurtovic 10 years ago
parent
commit
4c34055849
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bitshift/crawler/indexer.py

+ 1
- 1
bitshift/crawler/indexer.py View File

@@ -199,7 +199,7 @@ class GitIndexer(threading.Thread):
def _walk_history(self, files, head):
"""Walk a repository's history for metadata."""
def update_entry(commit, entry, new_file):
entry.add(commit.author.name)
entry["authors"].add(commit.author.name)
commit_ts = datetime.utcfromtimestamp(commit.committed_date)
if commit_ts > entry["time_last_modified"]:
entry["time_last_modified"] = commit_ts


Loading…
Cancel
Save