[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Maposmatic-dev] Possible file descriptor leak when reading logo fil
From: |
David MENTRE |
Subject: |
Re: [Maposmatic-dev] Possible file descriptor leak when reading logo file |
Date: |
Sun, 15 Apr 2012 20:18:12 +0200 |
Hello Maxime,
2012/4/14 Maxime Petazzoni <address@hidden>:
> You don't need this here because of the with statement, which will
> always call f.__exit__() (which calls f.close()) even if the with block
> throws an exception.
OK, thank you for the review and the comments.
Best regards,
d.