Mercurial > hg-stable
changeset 33589:a0bfcd08f5fe stable
setup: drop use of set literal so parsable on Python 2.6
Otherwise friendly error wouldn't be displayed.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Wed, 26 Jul 2017 23:39:42 +0900 |
parents | 025017423e53 |
children | 52f82e7d6a7e |
files | setup.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py Fri Jul 21 10:46:31 2017 -0400 +++ b/setup.py Wed Jul 26 23:39:42 2017 +0900 @@ -576,7 +576,7 @@ # Screen out egg related commands to prevent egg generation. But allow # mercurial.egg-info generation, since that is part of modern # packaging. - excl = {'bdist_egg'} + excl = set(['bdist_egg']) return filter(lambda x: x not in excl, install.get_sub_commands(self)) class hginstalllib(install_lib):