duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] backend query_info question


From: Michael Terry
Subject: Re: [Duplicity-talk] backend query_info question
Date: Sat, 31 Dec 2011 11:41:39 -0500

On 31 December 2011 07:49,  <address@hidden> wrote:
>> It can guarantee behavior from query_info that
>> put/get just can't because it wraps the _query_file_info method
>> provided by those implementations.
>
> although i am not finished, while working on the info retrieval for sftp i 
> modified the code so that backends do have to create dummy values if they 
> have none. this makes it more fault tolerant and easier for implementers.

How does having backends create dummy values make things more fault
tolerant or easier?  The existing query_info wrapper already does this
so that backend implementers don't have to.

> on a second thought, having managed that i see no real need for a generic 
> query_info anymore. it could be put in each backend and each decides if it 
> wants to loop or not according to list retrievability or not.

Ugh, I have no particular attachment to an underscore, but I do have
an attachment to not duplicating code.

-mt



reply via email to

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