Mercurial > hgrepos > Python > apps > py-cutils
view dos2unix.py @ 197:48e2610978e5
Return the CRC-32 digest on Python2 as unsigned int instead of a signed one.
On Python3 it is always unsigned.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 16 Jan 2025 20:40:24 +0100 |
| parents | dfe7bb0579e2 |
| children | 48430941c18c |
line wrap: on
line source
# -*- coding: utf-8 -*- # :- # :Copyright: (c) 2020-2025 Franz Glasner # :License: BSD-3-Clause # :- r"""Pure Python implementation of `dos2unix`. """ from __future__ import absolute_import import sys import cutils.dos2unix sys.exit(cutils.dos2unix.main())
