diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2020-08-28 19:02:55 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-09-12 11:54:50 +0200 |
commit | 3c2843d17c1a5d61c459b8a4644755a84920d38c (patch) | |
tree | 3c331a5841f818e9d35ec443f1cee9c422c69052 /dev-python/xcffib | |
parent | dev-python/twine: remove unused patch (diff) | |
download | gentoo-3c2843d17c1a5d61c459b8a4644755a84920d38c.tar.gz gentoo-3c2843d17c1a5d61c459b8a4644755a84920d38c.tar.bz2 gentoo-3c2843d17c1a5d61c459b8a4644755a84920d38c.zip |
dev-python/xcffib: remove unused patch
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/xcffib')
-rw-r--r-- | dev-python/xcffib/files/xcffib-0.10.0-testing.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/dev-python/xcffib/files/xcffib-0.10.0-testing.patch b/dev-python/xcffib/files/xcffib-0.10.0-testing.patch deleted file mode 100644 index 7c075ae9811c..000000000000 --- a/dev-python/xcffib/files/xcffib-0.10.0-testing.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/xcffib/testing.py b/xcffib/testing.py -index ef0268a..0662fcf 100644 ---- a/xcffib/testing.py -+++ b/xcffib/testing.py -@@ -31,11 +31,14 @@ def lock_path(display): - def find_display(): - display = 10 - while True: -- f = open(lock_path(display), "w+") - try: -- fcntl.flock(f.fileno(), fcntl.LOCK_EX | fcntl.LOCK_NB) -- except OSError: -- f.close() -+ f = open(lock_path(display), "w+") -+ try: -+ fcntl.flock(f.fileno(), fcntl.LOCK_EX | fcntl.LOCK_NB) -+ except: -+ f.close() -+ raise -+ except OSError: - display += 1 - continue - return display, f |