Mercurial > hgrepos > Python > apps > py-cutils
diff cutils/util/__init__.py @ 185:f04d4b1c14b3
FIX: "digest" had overwritteh the digest module
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 14 Jan 2025 11:35:18 +0100 |
| parents | 6154b8e4ba94 |
| children | 2784fdcc99e5 |
line wrap: on
line diff
--- a/cutils/util/__init__.py Tue Jan 14 11:26:38 2025 +0100 +++ b/cutils/util/__init__.py Tue Jan 14 11:35:18 2025 +0100 @@ -163,7 +163,7 @@ "crc64-go-iso", "crc-64-go-iso"): return (get_crc("crc-64-go"), "CRC-64-GO-ISO") elif s in ("crc64-redis", "crc-64-redis"): - return (get_crc("crc-64-redis"), "CRC-64-REDIS") + return (get_crc("crc-64-redis"), "CRC-64-REDIS") else: raise argparse.ArgumentTypeError( "`{}' is not a recognized algorithm".format(s)) @@ -223,7 +223,7 @@ elif s == "CRC-64-GO-ISO": return get_crc("crc-64-go") elif s == "CRC-64-REDIS": - return get_crc("crc-64-redis") + return get_crc("crc-64-redis") else: raise ValueError("unknown algorithm: {}".format(s))
