Mercurial > hg
comparison mercurial/hg.py @ 3336:e44eadc92ec4
context: check self.__dict__ instead of using hasattr
hasattr implicitly calls getattr, instantiating the field it is
checking for.
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Wed, 11 Oct 2006 13:34:12 -0700 |
parents | 39fd6e82ea38 |
children | 145a8fde69e6 |
comparison
equal
deleted
inserted
replaced
3335:9061613c1593 | 3336:e44eadc92ec4 |
---|