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. _______________________________________________ Mailing list: https://launchpad.net/~duplicity-team Post to : duplicity-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~duplicity-team More help : https://help.launchpad.net/ListHelp