diff --git a/scripts/crc32c.py b/scripts/crc32c.py index 2dac14ab..1584e5e9 100755 --- a/scripts/crc32c.py +++ b/scripts/crc32c.py @@ -47,7 +47,7 @@ def main(paths, **args): # interpret as strings elif args.get('string'): for path in paths: - print('%08x' % crc32c(path.encode('utf8'))) + print('%08x %s' % (crc32c(path.encode('utf8')), path)) # default to interpreting as paths else: diff --git a/scripts/parity.py b/scripts/parity.py index c9b4fea2..09d89265 100755 --- a/scripts/parity.py +++ b/scripts/parity.py @@ -55,7 +55,7 @@ def main(paths, **args): # interpret as strings elif args.get('string'): for path in paths: - print('%01x' % parity(crc32c(path.encode('utf8')))) + print('%01x %s' % (parity(crc32c(path.encode('utf8'))), path)) # default to interpreting as paths else: