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 .submit();'> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/apparmor.scm
AgeCommit message (Expand)Author
2022-12-04gnu: libapparmor: Restrict supported systems to GNU/Linux....* gnu/packages/apparmor.scm (libapparmor)[supported-systems]: New field. Ludovic Courtès
2022-12-04gnu: Add pam-apparmor....* gnu/packages/apparmor.scm (pam-apparmor): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Hilton Chain
2022-12-04gnu: Add apparmor....* gnu/packages/apparmor.scm (apparmor): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Hilton Chain
2022-12-04gnu: Add libapparmor....* gnu/packages/apparmor.scm: New file. (libapparmor): New variable. * gnu/local.mk (GNU_SYSTEM_MODULES): Add the file. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Hilton Chain