aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar James Hilliard <james.hilliard1@gmail.com>2020-02-24 15:06:30 -0700
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-02-26 20:53:33 +0100
commit9fbbf4fd2a26c839863acc10aee7622821ed0ad9 (patch)
tree71d3f8922a45d1e3edf959f154dc5706c10c7234
parent2723ff3333f4f31a06628692bb644552681f8226 (diff)
downloadbuildroot-9fbbf4fd2a26c839863acc10aee7622821ed0ad9.tar.gz
buildroot-9fbbf4fd2a26c839863acc10aee7622821ed0ad9.tar.bz2
utils/scanpypi: update hash file indentation formatting
The new .hash convention is to use 2 spaces between fields. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rwxr-xr-xutils/scanpypi6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/scanpypi b/utils/scanpypi
index 387755bbb8..212dbea85e 100755
--- a/utils/scanpypi
+++ b/utils/scanpypi
@@ -568,12 +568,12 @@ class BuildrootPackage():
hash_header = '# md5, sha256 from {url}\n'.format(
url=self.metadata_url)
lines.append(hash_header)
- hash_line = '{method}\t{digest} {filename}\n'.format(
+ hash_line = '{method} {digest} {filename}\n'.format(
method='md5',
digest=self.used_url['digests']['md5'],
filename=self.filename)
lines.append(hash_line)
- hash_line = '{method}\t{digest} {filename}\n'.format(
+ hash_line = '{method} {digest} {filename}\n'.format(
method='sha256',
digest=self.used_url['digests']['sha256'],
filename=self.filename)
@@ -589,7 +589,7 @@ class BuildrootPackage():
if not data:
break
sha256.update(data)
- hash_line = '{method}\t{digest} {filename}\n'.format(
+ hash_line = '{method} {digest} {filename}\n'.format(
method='sha256',
digest=sha256.hexdigest(),
filename=license_file.replace(self.tmp_extract, '')[1:])