Moved from *.__del__() to exclusive use of *.cleanup().
authorW. Trevor King <wking@drexel.edu>
Tue, 6 Oct 2009 01:00:34 +0000 (21:00 -0400)
committerW. Trevor King <wking@drexel.edu>
Tue, 6 Oct 2009 01:00:34 +0000 (21:00 -0400)
commitaa7546258e3f24bec3df2d8c4b203ed08e0acbce
treed93b3c47e74e62524238f6e7dea03acf735988de
parente35ccf95ea89b6e622202caae30d3b8cca3f2473
Moved from *.__del__() to exclusive use of *.cleanup().

*.__del__() is run some unspecified time after the refcount for an
object is reduced to zero.  Sometimes that means that the rest of the
world has already been deallocated, which makes life difficult,
especially when Python won't attempt to construct stack traces inside
*.__del__().  We were always (hopefully ;) calling del(*) anyway,
so we just replace those calls with *.cleanup()
becommands/init.py
libbe/arch.py
libbe/bugdir.py
libbe/utility.py
libbe/vcs.py