duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] (rsync) backend modificatons


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] (rsync) backend modificatons
Date: Sun, 09 May 2010 11:21:28 -0500
User-agent: Thunderbird 2.0.0.24 (X11/20100411)

Edgar,

We are at the point now where we can drop support for 2.3.  There have
already been a couple of reports where the new command line parsing is
broken under 2.3 and I have no plans to revert to the old style.

So, go ahead and use the subprocess module and lets get it fixed.

...Ken

address@hidden wrote:
> When working on it I didn't like the way of rsync failing without proper
> error message because the STDERR was not captured in backend.py:run_command.
> 
> backend.py:popen doesn't do that as well. Therefor I'd really like to
> introduce backend.py:subprocess_popen which utilizes the "modern"
>  way to execute shell programs. Unfortunately this was introduced in
> python 2.4.
> 
> My plan is now to change backend.py:run_command(_persist) into
> backend.py:run_command(_persist)_legacy and to add new run_command
> functions that conditionally use subprocess_popen for python > 2.3 or
> stick to the legacy methods for python < 2.4.
> 
> Is this fine for you Ken?
> 
> ..ede
> 
> 
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
> 


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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