chiark / gitweb /
fshash.in: Forcibly reify output of `dict.keys'.
[rsync-backup] / fshash.in
index 3d57292c9cf1f8d6ff856ebdb95ad03e04f7cb57..ad6ff58bf8c447a30d6b4bc645dc299ac22cb654 100644 (file)
--- 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' }),