diff options
author | 2021-03-09 11:17:33 -0500 | |
---|---|---|
committer | 2021-03-09 11:17:33 -0500 | |
commit | 91dba2e6199b24c7d0b52b8bd6204b4a5f6e5137 (patch) | |
tree | 0ff969141a4e67a04f0dcb897f2f0e82cf92ce81 /catalyst | |
parent | catalyst: Handle specifying target_profiles in repo_name:path format (diff) | |
download | catalyst-91dba2e6199b24c7d0b52b8bd6204b4a5f6e5137.tar.gz catalyst-91dba2e6199b24c7d0b52b8bd6204b4a5f6e5137.tar.bz2 catalyst-91dba2e6199b24c7d0b52b8bd6204b4a5f6e5137.zip |
catalyst: Remove tabs
Fixes: 48338534 ("Add option to generate BSD-style tagged hashes ...")
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'catalyst')
-rw-r--r-- | catalyst/base/genbase.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/catalyst/base/genbase.py b/catalyst/base/genbase.py index 52418877..4a4c3efa 100644 --- a/catalyst/base/genbase.py +++ b/catalyst/base/genbase.py @@ -25,10 +25,10 @@ class GenBase(): filename = os.path.split(filepath)[1] - if self.settings['digest_format'] == 'bsd': - return f'# {name.upper()} HASH\n{name.upper()} ({filename}) = {h.hexdigest()}\n' - else: - return f'# {name.upper()} HASH\n{h.hexdigest()} {filename}\n' + if self.settings['digest_format'] == 'bsd': + return f'# {name.upper()} HASH\n{name.upper()} ({filename}) = {h.hexdigest()}\n' + else: + return f'# {name.upper()} HASH\n{h.hexdigest()} {filename}\n' def gen_contents_file(self, path): c = self.settings['contents_map'] |