Mercurial > hgrepos > Python > apps > py-cutils
comparison cutils/shasum.py @ 73:c3268f4e752f
Adjust all license notes to (a) more literally comply with the BSD3 templates and to the style guide
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 26 Feb 2022 19:32:01 +0100 |
| parents | ae2df602beb4 |
| children | a31de3c65877 |
comparison
equal
deleted
inserted
replaced
| 72:ae2df602beb4 | 73:c3268f4e752f |
|---|---|
| 1 r""" | 1 # -*- coding: utf-8 -*- |
| 2 :Author: Franz Glasner | 2 # :- |
| 3 :Copyright: (c) 2020-2022 Franz Glasner. | 3 # :Copyright: (c) 2020-2022 Franz Glasner |
| 4 All rights reserved. | 4 # :License: BSD-3-Clause |
| 5 :License: BSD 3-Clause "New" or "Revised" License. | 5 # :- |
| 6 See :ref:`LICENSE <license>` for details. | 6 r"""Pure Python implementation of `shasum` |
| 7 If you cannot find LICENSE see | |
| 8 <https://opensource.org/licenses/BSD-3-Clause> | |
| 9 :ID: @(#) $HGid$ | |
| 10 | 7 |
| 11 """ | 8 """ |
| 12 | 9 |
| 13 from __future__ import print_function, absolute_import | 10 from __future__ import print_function, absolute_import |
| 14 | 11 |
| 15 from . import (__version__, __revision__, __date__) | 12 from . import (__version__, __revision__) |
| 13 | |
| 14 | |
| 15 __all__ = [] | |
| 16 | |
| 16 | 17 |
| 17 import argparse | 18 import argparse |
| 18 import base64 | 19 import base64 |
| 19 import binascii | 20 import binascii |
| 20 import errno | 21 import errno |
