소스 검색

Merge pull request #717 from Aetf/patch-1

Fix filetime_from_git not working in python3
Justin Mayer 8 년 전
부모
커밋
961c52b843
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      filetime_from_git/git_wrapper.py

+ 1 - 1
filetime_from_git/git_wrapper.py

@@ -53,7 +53,7 @@ class _GitWrapperCommon(object):
         '''
         commit_shas = self.git.log(
             '--pretty=%H', '--follow', '--', path).splitlines()
-        return map(self.repo.commit, commit_shas)
+        return [self.repo.commit(shas) for shas in commit_shas]
 
     def get_commits(self, path, follow=False):
         '''