Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / xlib / fix-no-protocol-specified.patch
blob1f3ab927f8405e5a1c393bb5c2f624e25ffc0f3e
1 diff --git a/Xlib/xauth.py b/Xlib/xauth.py
2 index 2ed7dd5..303bd49 100644
3 --- a/Xlib/xauth.py
4 +++ b/Xlib/xauth.py
5 @@ -120,6 +120,8 @@ class Xauthority(object):
6 matches = {}
8 for efam, eaddr, enum, ename, edata in self.entries:
9 + if enum == b'' and ename not in matches:
10 + enum = num
11 if efam == family and eaddr == address and num == enum:
12 matches[ename] = edata