Merge pull request #4669 from ThomasWaldmann/forward-ports-master

forward ports to master
This commit is contained in:
TW 2019-07-07 14:39:31 +02:00 committed by GitHub
commit 76655b18d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -872,7 +872,7 @@ This problem will go away as soon as the server has been upgraded to 1.0.7+.
if self.dictFormat:
self.to_send = msgpack.packb({MSGID: self.msgid, MSG: 'get', ARGS: args})
else:
self.to_send = msgpack.packb((1, self.msgid, 'get', self.named_to_positional(cmd, args)))
self.to_send = msgpack.packb((1, self.msgid, 'get', self.named_to_positional('get', args)))
if self.to_send:
try:

View File

@ -31,7 +31,7 @@ except ImportError:
try:
from pytest import raises
except ImportError:
except: # noqa
raises = None
has_lchflags = hasattr(os, 'lchflags') or sys.platform.startswith('linux')