blob f8690677c0eef712a8e6e5e7f7e97683b605f11a 701 bytes (raw)
name: gnu/packages/patches/python-memcached-syntax-warnings.patch # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| | Problem reported upstream:
https://github.com/linsomniac/python-memcached/issues/176
---
memcache.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/memcache.py b/memcache.py
index 05b6657..b935681 100644
--- a/memcache.py
+++ b/memcache.py
@@ -1300,8 +1300,8 @@ class Client(threading.local):
key = key[1]
if key is None:
raise Client.MemcachedKeyNoneError("Key is None")
- if key is '':
- if key_extra_len is 0:
+ if key == '':
+ if key_extra_len == 0:
raise Client.MemcachedKeyNoneError("Key is empty")
# key is empty but there is some other component to key
--
2.26.2
|
debug log:
solving 6b79c3634b ...
found 6b79c3634b in https://yhetil.org/guix-patches/20200616115113.5852-1-tanguy@bioneland.org/
applying [1/1] https://yhetil.org/guix-patches/20200616115113.5852-1-tanguy@bioneland.org/
diff --git a/gnu/packages/patches/python-memcached-syntax-warnings.patch b/gnu/packages/patches/python-memcached-syntax-warnings.patch
new file mode 100644
index 0000000000..6b79c3634b
Checking patch gnu/packages/patches/python-memcached-syntax-warnings.patch...
Applied patch gnu/packages/patches/python-memcached-syntax-warnings.patch cleanly.
index at:
100644 f8690677c0eef712a8e6e5e7f7e97683b605f11a gnu/packages/patches/python-memcached-syntax-warnings.patch
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).