From 85b4b022003bacc6fd8a15b3e6e37089ddcbeb7f Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Thu, 12 Aug 2021 13:54:40 -0700 Subject: [PATCH] use lowercase letters --- tools/snap/build_remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/snap/build_remote.py b/tools/snap/build_remote.py index f183d6dba..6ab80669c 100755 --- a/tools/snap/build_remote.py +++ b/tools/snap/build_remote.py @@ -59,7 +59,7 @@ def _execute_build( # This random string was chosen because snapcraft uses a MD5 hash # represented as a 32 character hex string by default, so we use the same # length but from a larger character set just because we can. - random_string = ''.join(random.choice(string.ascii_letters + string.digits) + random_string = ''.join(random.choice(string.ascii_lowercase + string.digits) for _ in range(32)) build_id = f'snapcraft-{target}-{random_string}'