Mercurial > hg
diff tests/run-tests.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 | 4fae5df4b1bb |
children | 3efbb5e8bf5c |