Mercurial > public > mercurial-scm > hg-stable
diff mercurial/extensions.py @ 32331:bd872f64a8ba
cleanup: use set literals
We no longer support Python 2.6, so we can now use set literals.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 10 Feb 2017 16:56:29 -0800 |
parents | b98ee1a808bd |
children | b88d879e468a |
line wrap: on
line diff
--- a/mercurial/extensions.py Sat May 06 04:51:25 2017 +0530 +++ b/mercurial/extensions.py Fri Feb 10 16:56:29 2017 -0800 @@ -28,8 +28,8 @@ _disabledextensions = {} _aftercallbacks = {} _order = [] -_builtin = set(['hbisect', 'bookmarks', 'parentrevspec', 'progress', 'interhg', - 'inotify', 'hgcia']) +_builtin = {'hbisect', 'bookmarks', 'parentrevspec', 'progress', 'interhg', + 'inotify', 'hgcia'} def extensions(ui=None): if ui: