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 8e8d603a..bf7aa4a1 100644 --- a/git_refs.py +++ b/git_refs.py | |||
@@ -105,7 +105,7 @@ class GitRefs: | |||
105 | def _ReadPackedRefs(self): | 105 | def _ReadPackedRefs(self): |
106 | path = os.path.join(self._gitdir, "packed-refs") | 106 | path = os.path.join(self._gitdir, "packed-refs") |
107 | try: | 107 | try: |
108 | fd = open(path, "r") | 108 | fd = open(path) |
109 | mtime = os.path.getmtime(path) | 109 | mtime = os.path.getmtime(path) |
110 | except IOError: | 110 | except IOError: |
111 | return | 111 | return |