comparison mercurial/lsprof.py @ 15246:7b15dd9125b3

httprepo: make __del__ more stable in error situations Some errors could leave self.urlopener uninitialized and thus cause strange crashes in __del__. This member variable is now "declared statically" and checked for assignment before use.
author Mads Kiilerich <mads@kiilerich.com>
date Thu, 13 Oct 2011 04:27:49 +0200
parents b1dcc5ab86cd
children be92ddc636e3
comparison
equal deleted inserted replaced
15245:aa2c35057f47 15246:7b15dd9125b3