[PATCH 3/5] Re: Remove duplicated code paths

Nicolas Sebrecht nicolas.s-dev at laposte.net
Thu May 5 17:54:15 UTC 2011


On Wed, May 04, 2011 at 04:45:26PM +0200, Sebastian Spaeth wrote:
> 
> Currently, account.syncrunner() has 2 separate duplicated code paths
> depending on whether we want to autorefresh after some waiting perios
> or not. Unify those code paths by setting "looping = False" in case
> self.refeshperiod == 0 after the first run. Behavior is identical to
> before.

It's unrelated to the "proper error" topic. Applied.

I've changed the commit title to "accounts: remove duplicated code
paths".

-- 
Nicolas Sebrecht



More information about the OfflineIMAP-project mailing list