chore(keyringctl): blake compatible formatting of binary or chain

This commit is contained in:
Levente Polyak 2021-10-19 18:24:00 +02:00
parent 0bd10b9b4f
commit e001de10d6
No known key found for this signature in database
GPG Key ID: FC1B547C8D8172C8

View File

@ -861,9 +861,8 @@ def convert(
for key in keys: for key in keys:
for cert in keyring_split(working_dir=working_dir, keyring=key): for cert in keyring_split(working_dir=working_dir, keyring=key):
name = ( name = (
name_override name_override or derive_user_from_target(working_dir=working_dir, target_dir=target_dir,
or derive_user_from_target(working_dir=working_dir, target_dir=target_dir, certificate=cert) certificate=cert) or key.stem
or key.stem
) )
directories.append( directories.append(
convert_certificate( convert_certificate(