Hi Nicolas,

On Mon, Oct 24, 2016 at 03:26:15AM +0200, Nicolas Sebrecht wrote:
>      def _loadmaps(self):
> -        with self.maplock:
> -            mapfilename = self._getmapfilename()
> +        mapfilename = self._getmapfilename()
> +        mapfilenametmp = "%s.tmp"% mapfilename
> +        mapfilenamelock = "%s.lock"% mapfilename
Maybe it is better to use format function.  It is recommended for use in
Python 3.

Best,
Łukasz
_______________________________________________
OfflineIMAP-project mailing list: [email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepages:
- https://github.com/OfflineIMAP
- http://offlineimap.org

Reply via email to