Mercurial > hg-stable
diff setup.py @ 14972:bcba68e81a81
setup3k: use getattr instead of hasattr
Note that hasattr is fixed on Python 3, so this is more about being
concise and keeping check-code happy than actual correctness of code.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Mon, 25 Jul 2011 16:07:52 -0500 |
parents | 3818c67a501e |
children | 5656cb5b9028 f4bc0b9e03a4 |