Mercurial > hg > mercurial-source
comparison mercurial/transaction.py @ 33074: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 | 976681123416 |
children | aa91085cadf3 |
comparison
equal
deleted
inserted
replaced
33073:2959c3e986e0 | 33074:bd872f64a8ba |
---|---|
24 version = 2 | 24 version = 2 |
25 | 25 |
26 # These are the file generators that should only be executed after the | 26 # These are the file generators that should only be executed after the |
27 # finalizers are done, since they rely on the output of the finalizers (like | 27 # finalizers are done, since they rely on the output of the finalizers (like |
28 # the changelog having been written). | 28 # the changelog having been written). |
29 postfinalizegenerators = set([ | 29 postfinalizegenerators = { |
30 'bookmarks', | 30 'bookmarks', |
31 'dirstate' | 31 'dirstate' |
32 ]) | 32 } |
33 | 33 |
34 gengroupall='all' | 34 gengroupall='all' |
35 gengroupprefinalize='prefinalize' | 35 gengroupprefinalize='prefinalize' |
36 gengrouppostfinalize='postfinalize' | 36 gengrouppostfinalize='postfinalize' |
37 | 37 |