* [Buildroot] [PATCH 1/1] utils/scanpypi: update hash file indentation formatting
@ 2020-02-24 22:06 James Hilliard
2020-02-26 19:53 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: James Hilliard @ 2020-02-24 22:06 UTC (permalink / raw)
To: buildroot
The new .hash convention is to use 2 spaces between fields.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
utils/scanpypi | 6 +++---
1 file 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:])
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] utils/scanpypi: update hash file indentation formatting
2020-02-24 22:06 [Buildroot] [PATCH 1/1] utils/scanpypi: update hash file indentation formatting James Hilliard
@ 2020-02-26 19:53 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2020-02-26 19:53 UTC (permalink / raw)
To: buildroot
On Mon, 24 Feb 2020 15:06:30 -0700
James Hilliard <james.hilliard1@gmail.com> wrote:
> The new .hash convention is to use 2 spaces between fields.
>
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
> utils/scanpypi | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Applied to next, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-26 19:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-24 22:06 [Buildroot] [PATCH 1/1] utils/scanpypi: update hash file indentation formatting James Hilliard
2020-02-26 19:53 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.