--- a/hgext/fastannotate/commands.py Wed Jul 19 13:17:49 2017 -0700
+++ b/hgext/fastannotate/commands.py Wed Apr 03 11:21:27 2019 -0700
@@ -198,9 +198,9 @@
formatter.write(result, lines, existinglines=existinglines)
formatter.end()
-_newopts = set([])
-_knownopts = set([opt[1].replace('-', '_') for opt in
- (fastannotatecommandargs[r'options'] + commands.globalopts)])
+_newopts = set()
+_knownopts = {opt[1].replace('-', '_') for opt in
+ (fastannotatecommandargs[r'options'] + commands.globalopts)}
def _annotatewrapper(orig, ui, repo, *pats, **opts):
"""used by wrapdefault"""