duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] New megatools backend in 0.7.14


From: edgar . soldin
Subject: Re: [Duplicity-talk] New megatools backend in 0.7.14
Date: Wed, 6 Sep 2017 12:58:38 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

On 06.09.2017 12:23, Richard McGraw via Duplicity-talk wrote:
> Hello,
> 
> The new megabackend.py calls self.subprocess_popen(cmd) where cmd is a 
> list of arguments (in upload function and others). But 
> Backend.subprocess_popen() expects a string.
> 
> The file linked in this
> post: https://bugs.launchpad.net/duplicity/+bug/1394386/comments/7 calls
> subprocess.call(cmd)
> 

for ease of use, we should probably just extend backend.__subprocess_popen() to 
detect if commandline/args is a list and use it directly, skipping the arg list 
generation.

Ken: want me to give it a try?
Richard: do you want to?

..ede/duply.net



reply via email to

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