duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] How to get link to oauth on Mac OS X?


From: GDR!
Subject: Re: [Duplicity-talk] How to get link to oauth on Mac OS X?
Date: Thu, 27 Dec 2012 11:09:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 12/26/2012 02:55 PM, address@hidden wrote:
>> The "putting tape over the dashboard warning light" solution works
for me!
> sorry? is this a common figure of speech? ..ede

You know, when "check engine" control lights up in your car and it
annoys you so you put some non-transparent sticky tape over it to not
see it :)

> On 26.12.2012 04:25, Michael Terry wrote:
>> Note that while trunk uses oauthlib, 0.6.20 did use oauth2.
>>
>> While these imports could certainly be done lazily, I'd vote instead to just 
>> disable similar backend errors as a whole by catching ImportErrors when 
>> loading backends and only printing them on a higher log level.
> 
> why? how?
> problem is we get "unknown protocol" errors because the backend does not 
> initialize properly and register the protocols. this is misleading.
> 
> just for fun i implemented the lazy approach among other tidbits. it feels 
> proper, because why importing modules that we don't immediately use anyway? 
> importing them on first usage is the correct approach. no funny code to deal 
> with errors, that never had to occur in the first place, nothing. see
> https://code.launchpad.net/~ed.so/duplicity/u1_and_manpage/+merge/141237

Good idea. There are quite a few of these errors on startup and they may
be misleading for the new users.

-- 
Kreślę się z rewerencją,
GDR!

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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