summaryrefslogtreecommitdiff
path: root/tools/examples/walk-config-auth.py
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-08-05 16:22:51 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-08-05 16:22:51 +0000
commitcf46733632c7279a9fd0fe6ce26f9185a4ae82a9 (patch)
treeda27775a2161723ef342e91af41a8b51fedef405 /tools/examples/walk-config-auth.py
parentbb0ef45f7c46b0ae221b26265ef98a768c33f820 (diff)
downloadsubversion-tarball-master.tar.gz
Diffstat (limited to 'tools/examples/walk-config-auth.py')
-rwxr-xr-xtools/examples/walk-config-auth.py4
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))