summaryrefslogtreecommitdiff
path: root/user/gobject-introspection/we-are-in-a-pickle.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-04-29 21:35:23 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:58 -0500
commitec050f50078fd08bd33107e059195292dc253c72 (patch)
treee9ae026a956640fd085fb7b61d7702c8f037b81d /user/gobject-introspection/we-are-in-a-pickle.patch
parent49893f35fe3f422c28d88551a7047dab6679f410 (diff)
downloadpackages-ec050f50078fd08bd33107e059195292dc253c72.tar.gz
packages-ec050f50078fd08bd33107e059195292dc253c72.tar.bz2
packages-ec050f50078fd08bd33107e059195292dc253c72.tar.xz
packages-ec050f50078fd08bd33107e059195292dc253c72.zip
user/gobject-introspection: bump { 1.66.1 --> 1.72.0 }. fixes #618.
Diffstat (limited to 'user/gobject-introspection/we-are-in-a-pickle.patch')
-rw-r--r--user/gobject-introspection/we-are-in-a-pickle.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/user/gobject-introspection/we-are-in-a-pickle.patch b/user/gobject-introspection/we-are-in-a-pickle.patch
deleted file mode 100644
index 5262e2887..000000000
--- a/user/gobject-introspection/we-are-in-a-pickle.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 945438608433a554b8d7077af648d60a9daf59f9 Mon Sep 17 00:00:00 2001
-From: Christoph Reiter <reiter.christoph@gmail.com>
-Date: Sat, 8 Dec 2018 18:44:31 +0100
-Subject: [PATCH] cachestore: don't try to catch nonexisting
- pickle.BadPickleGet. Fixes #159
-
-pickle.loads() can pretty much throw any kind of exception and we can't
-handle it besides ignoring it, so just catch all.
----
- giscanner/cachestore.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/giscanner/cachestore.py b/giscanner/cachestore.py
-index 58b3193c..857dc725 100644
---- a/giscanner/cachestore.py
-+++ b/giscanner/cachestore.py
-@@ -178,7 +178,7 @@ class CacheStore(object):
- return None
- try:
- data = pickle.load(fd)
-- except (AttributeError, EOFError, ValueError, pickle.BadPickleGet):
-+ except Exception:
- # Broken cache entry, remove it
- self._remove_filename(store_filename)
- data = None
---
-2.18.1
-