From: Mark Wooding Date: Sat, 1 Jun 2024 03:26:36 +0000 (+0100) Subject: fshash.in: Forcibly reify output of `dict.keys'. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/rsync-backup/commitdiff_plain/902006bb63b78582f3e3fd73ad04a8246b41646d?ds=inline fshash.in: Forcibly reify output of `dict.keys'. --- diff --git a/fshash.in b/fshash.in index 3d57292..ad6ff58 100644 --- a/fshash.in +++ b/fshash.in @@ -590,7 +590,7 @@ for short, long, props in [ ('-c', '--cache', { 'dest': 'cache', 'metavar': 'FILE', 'help': 'use FILE as a cache for file hashes' }), ('-f', '--files', { 'dest': 'files', 'metavar': 'FORMAT', - 'type': 'choice', 'choices': FMTMAP.keys(), + 'type': 'choice', 'choices': list(FMTMAP.keys()), 'help': 'read files to report in the given FORMAT' }), ('-u', '--udiff', { 'action': 'store_true', 'dest': 'udiff', 'help': 'read diff from stdin, clear cache entries' }),