summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anderson2018-01-16 21:57:32 -0800
committerEric Anderson2018-01-16 21:57:32 -0800
commit52c5480cb8a7f1f00980549af57b4607cfabbe74 (patch)
tree64d2b3efe24ed2ad5b542646b169cb0c6fbb5e4d
parentead7cc8bdba22f846237e6af92fbd89a483d5e79 (diff)
downloadaur-52c5480cb8a7f1f00980549af57b4607cfabbe74.tar.gz
Add missing except case for file not found
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD2
-rwxr-xr-xpkgdistcache-client2
3 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 721ce940875..5dc5e325e1e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Fri Dec 29 05:39:42 UTC 2017
+# Wed Jan 17 05:56:53 UTC 2018
pkgbase = pkgdistcache
pkgdesc = A distributed local-network cache for pacman packages
pkgver = 0.5.0
@@ -19,7 +19,7 @@ pkgbase = pkgdistcache
source = pkgdistcache-daemon
source = pkgdistcache.conf
source = pkgdistcached.service
- sha256sums = f80850ff4cfe775e0dd73961924d5eb934e2c4be6a8d8e3e2c3c404835e7f05b
+ sha256sums = bef0809d86e151a4551a122b29f4c90d2f06ab34459a8ff91a37a29a6fd2a3f7
sha256sums = 10379b95265e7aa3c6334197ef255327281e35b958c3c062ae893dd3a646a66e
sha256sums = 5628cf4d81adaf7a3dd7243f51af1a30fff73a31b421615a7c0051280618f457
sha256sums = b5fb3b3d40b31af92a1676364dfc42a35f564067988697ea4d56fd71b4b414e3
diff --git a/PKGBUILD b/PKGBUILD
index dccd7705e7c..e0cf4967b36 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,7 +14,7 @@ source=('pkgdistcache-client'
'pkgdistcache-daemon'
'pkgdistcache.conf'
'pkgdistcached.service')
-sha256sums=('f80850ff4cfe775e0dd73961924d5eb934e2c4be6a8d8e3e2c3c404835e7f05b'
+sha256sums=('bef0809d86e151a4551a122b29f4c90d2f06ab34459a8ff91a37a29a6fd2a3f7'
'10379b95265e7aa3c6334197ef255327281e35b958c3c062ae893dd3a646a66e'
'5628cf4d81adaf7a3dd7243f51af1a30fff73a31b421615a7c0051280618f457'
'b5fb3b3d40b31af92a1676364dfc42a35f564067988697ea4d56fd71b4b414e3')
diff --git a/pkgdistcache-client b/pkgdistcache-client
index dd499cc040c..d23177f6f09 100755
--- a/pkgdistcache-client
+++ b/pkgdistcache-client
@@ -231,7 +231,7 @@ def connect_to_cache_process(cache_file):
try:
sock.connect(cache_file)
return sock
- except ConnectionRefusedError as e:
+ except (FileNotFoundError, ConnectionRefusedError):
spawn_cache_process(cache_file)