From ed85f3283799a993312a760fc6450f5547e95c39 Mon Sep 17 00:00:00 2001 From: gryf Date: Wed, 18 Oct 2023 15:04:48 +0200 Subject: [PATCH] Adapt to new version of unadf 1.2. Adflib 0.8 has been released June 2023, so that this script needed to be adapted to the new version. --- uadf | 91 +++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 50 insertions(+), 41 deletions(-) diff --git a/uadf b/uadf index 731400c..eb094c1 100755 --- a/uadf +++ b/uadf @@ -20,14 +20,15 @@ The patched sources are available from: https://github.com/lclevy/ADFlib It also requires xdms utility, for optional dms support. Changelog: + 1.4 Adapt to unadf 1.2 and use Latin1 as default encoding 1.3 Switch to Python3 1.2 Added failsafe for filenames in archive with spaces and nodos message. 1.1 Moved common code into extfslib library 1.0 Initial release Author: Roman 'gryf' Dobosz -Date: 2019-06-30 -Version: 1.3 +Date: 2023-10-16 +Version: 1.4 Licence: BSD """ @@ -46,17 +47,17 @@ class UAdf(Archive): """ Class for interact with c1541 program and MC """ - LINE_PAT = re.compile(b'\s*(?P\d+)?' - b'\s{2}(?P\d{4}/\d{2}/\d{2})' - b'\s{2}\s?(?P