diff options
Diffstat (limited to 'git/refs')
-rw-r--r-- | git/refs/log.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/refs/log.py b/git/refs/log.py index 623a63db..1c085ef1 100644 --- a/git/refs/log.py +++ b/git/refs/log.py @@ -246,7 +246,7 @@ class RefLog(list, Serializable): try: self._serialize(fp) lfd.commit() - except: + except Exception: # on failure it rolls back automatically, but we make it clear lfd.rollback() raise |