Mercurial > hg-stable
diff mercurial/namespaces.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 | ca52512ac709 |
children | b98199a5c3e1 |
line wrap: on
line diff
--- a/mercurial/namespaces.py Sat May 06 04:51:25 2017 +0530 +++ b/mercurial/namespaces.py Fri Feb 10 16:56:29 2017 -0800 @@ -46,7 +46,7 @@ logfmt=_("tag: %s\n"), listnames=tagnames, namemap=tagnamemap, nodemap=tagnodemap, - deprecated=set(['tip'])) + deprecated={'tip'}) self.addnamespace(n) bnames = lambda repo: repo.branchmap().keys()