diff options
Diffstat (limited to 'git_refs.py')
-rw-r--r-- | git_refs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git_refs.py b/git_refs.py index 4dd68769..3c266061 100644 --- a/git_refs.py +++ b/git_refs.py | |||
@@ -100,7 +100,7 @@ class GitRefs(object): | |||
100 | def _ReadPackedRefs(self): | 100 | def _ReadPackedRefs(self): |
101 | path = os.path.join(self._gitdir, 'packed-refs') | 101 | path = os.path.join(self._gitdir, 'packed-refs') |
102 | try: | 102 | try: |
103 | fd = open(path, 'rb') | 103 | fd = open(path, 'r') |
104 | mtime = os.path.getmtime(path) | 104 | mtime = os.path.getmtime(path) |
105 | except IOError: | 105 | except IOError: |
106 | return | 106 | return |