From 9ee6d97c2883d42f204a533a8bc1f4562df778fb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 16 Sep 2020 09:32:48 +0100 Subject: gentoo resync : 16.09.2020 --- .../xcffib/files/xcffib-0.10.0-testing.patch | 23 ---------------------- 1 file changed, 23 deletions(-) delete mode 100644 dev-python/xcffib/files/xcffib-0.10.0-testing.patch (limited to 'dev-python/xcffib/files/xcffib-0.10.0-testing.patch') 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 -- cgit v1.2.3