diff --git a/src/borg/remote.py b/src/borg/remote.py index 56ad6c765..dce028801 100644 --- a/src/borg/remote.py +++ b/src/borg/remote.py @@ -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: diff --git a/src/borg/testsuite/__init__.py b/src/borg/testsuite/__init__.py index 2658cff2e..57743e45a 100644 --- a/src/borg/testsuite/__init__.py +++ b/src/borg/testsuite/__init__.py @@ -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')