rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feedback required - new arguments parsing for rdiff-backup


From: Eric Lavarde
Subject: Re: Feedback required - new arguments parsing for rdiff-backup
Date: Wed, 6 Jan 2021 07:09:30 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0

Hi Dominic,

On 05/01/2021 12:39, Dominic Raferd wrote:
> Thanks Eric for all your great work on rdiff-backup over the last year
> (I now use v2.0.5 on Ubuntu 20.04 and Windows [latter only as client],
> it works great), and all the best for 2021.

Thanks a lot for the kind words.

> But when I try arguments.py I get this:
> # python3 --version
> Python 3.8.5
> # python3 ./arguments.py --help
> Traceback (most recent call last):
>   File "./arguments.py", line 120, in <module>
>     "--fsync", default=True, action=argparse.BooleanOptionalAction,
> AttributeError: module 'argparse' has no attribute 'BooleanOptionalAction'

I can only apologize, I forgot to test on lower versions of Python and
did only work with Python 3.9 [1]. The attached version should now work
with python down to version 3.6.

Sorry for the inconvenience,
Eric

[1] to my defense, the argparse documentation doesn't say that
BooleanOptionalAction is new with 3.9

Attachment: arguments.py.gz
Description: application/gzip


reply via email to

[Prev in Thread] Current Thread [Next in Thread]