← Back to team overview

duplicity-team team mailing list archive

Re: [Question #656947]: restoring metadata from amazon glacier

 

Question #656947 on Duplicity changed:
https://answers.launchpad.net/duplicity/+question/656947

edso proposed the following answer:
On 8/29/2017 21:33, Martin wrote:
> Question #656947 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/656947
> 
> Martin posted a new comment:
> Of course you can replace every occurence of key2 with "self.bucket.get_key(key.key)".
> And every occurence of key can be replaced with self._listed_keys[key_name].
> So key2 can be replaced by self.bucket.get_key(self._listed_keys[key_name].key).
> Or self.bucket.get_key(self._listed_keys[self.key_prefix + remote_filename].key).
> But this is not faster and does not save any memory.
> 

well, where is your objection then? no reason to create a variable that
is only used once is all i am saying. ..ede/duply.net

-- 
You received this question notification because your team duplicity-team
is an answer contact for Duplicity.