diff options
Diffstat (limited to 'project.py')
| -rw-r--r-- | project.py | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -2327,8 +2327,8 @@ class Project(object): | |||
| 2327 | path = os.path.join(self._project.worktree, '.git', HEAD) | 2327 | path = os.path.join(self._project.worktree, '.git', HEAD) |
| 2328 | try: | 2328 | try: |
| 2329 | fd = open(path, 'rb') | 2329 | fd = open(path, 'rb') |
| 2330 | except IOError: | 2330 | except IOError as e: |
| 2331 | raise NoManifestException(path) | 2331 | raise NoManifestException(path, str(e)) |
| 2332 | try: | 2332 | try: |
| 2333 | line = fd.read() | 2333 | line = fd.read() |
| 2334 | finally: | 2334 | finally: |
