This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch aevri/win32_temptext
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit a86657c277e574bffa3f7b03aa7028cf4c68eaf3
Author: Angelos Evripiotis <[email protected]>
AuthorDate: Tue Jun 11 10:10:16 2019 +0100

    cascache: refactor, rm some unused exception vars
---
 src/buildstream/_cas/cascache.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/buildstream/_cas/cascache.py b/src/buildstream/_cas/cascache.py
index ad8013d..005fd98 100644
--- a/src/buildstream/_cas/cascache.py
+++ b/src/buildstream/_cas/cascache.py
@@ -260,7 +260,7 @@ class CASCache():
                 raise CASCacheError("Failed to pull ref {}: {}".format(ref, 
e)) from e
             else:
                 return False
-        except BlobNotFound as e:
+        except BlobNotFound:
             return False
 
     # pull_tree():
@@ -414,7 +414,7 @@ class CASCache():
                 os.makedirs(os.path.dirname(objpath), exist_ok=True)
                 os.link(tmp.name, objpath)
 
-        except FileExistsError as e:
+        except FileExistsError:
             # We can ignore the failed link() if the object is already in the 
repo.
             pass
 

Reply via email to