From b017ac4d5a7c8c19cd01e40a0232b7da5fa25a39 Mon Sep 17 00:00:00 2001 From: gryf Date: Wed, 18 Oct 2023 21:37:10 +0200 Subject: [PATCH] Corrected couple of typos and missaligements --- README.rst | 6 +++--- extfslib.py | 26 +++++++++++++------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.rst b/README.rst index ea7a601..f36a8dc 100644 --- a/README.rst +++ b/README.rst @@ -11,7 +11,7 @@ Midnight Commander extfslib helper library for writing extfs archive plugins. Description =========== -Extfslib help with building Midnight Commander extf plugins, especially for +Extfslib help with building Midnight Commander extfs plugins, especially for those which operates on different kind of archives. Simplest plugin built on top of this lib would be: @@ -37,8 +37,8 @@ Simplest plugin built on top of this lib would be: arch.list() -In this example class instance should be able to be called with ``list`` method. -All methods: +In this example class instance should be able to be called with ``list`` +method. All methods: - ``list`` - ``copyin`` diff --git a/extfslib.py b/extfslib.py index d828cf5..f4c438a 100644 --- a/extfslib.py +++ b/extfslib.py @@ -23,13 +23,13 @@ from subprocess import check_output, CalledProcessError class Archive(object): """Archive handle. Provides interface to MC's extfs subsystem""" - LINE_PAT = re.compile(b"^(?P)\s" - b"(?P)\s" - b"(?P)\s" - b"(?P)\s" - b"(?P)\s+" - b"(?P