diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-08-05 16:22:51 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-08-05 16:22:51 +0000 |
commit | cf46733632c7279a9fd0fe6ce26f9185a4ae82a9 (patch) | |
tree | da27775a2161723ef342e91af41a8b51fedef405 /tools/examples/walk-config-auth.py | |
parent | bb0ef45f7c46b0ae221b26265ef98a768c33f820 (diff) | |
download | subversion-tarball-master.tar.gz |
subversion-1.9.7HEADsubversion-1.9.7master
Diffstat (limited to 'tools/examples/walk-config-auth.py')
-rwxr-xr-x | tools/examples/walk-config-auth.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/examples/walk-config-auth.py b/tools/examples/walk-config-auth.py index b3298f3..5841b6c 100755 --- a/tools/examples/walk-config-auth.py +++ b/tools/examples/walk-config-auth.py @@ -37,8 +37,8 @@ def print_help(): def show_creds(hash): hash_keys = hash.keys() - maxkeylen = max(map(lambda x: len(x), hash_keys)) - maxvallen = max(map(lambda x: len(x), hash.values())) + maxkeylen = max(map(len, hash_keys)) + maxvallen = max(map(len, hash.values())) hash_keys.sort() sys.stdout.write("+") sys.stdout.write("-" * (maxkeylen + 2)) |