Mercurial > hgrepos > Python > apps > py-cutils
view dos2unix.py @ 375:7044c2900890
FIX: Convert the ultimate parse errors for a .treesum file into a real ValueError.
Do not assert such important runtime errors.
BUGS: Should be a dedicated exception type.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 05 May 2025 09:21:55 +0200 |
| parents | 48430941c18c |
| children |
line wrap: on
line source
# -*- coding: utf-8 -*- # :- # SPDX-FileCopyrightText: © 2020-2025 Franz Glasner # SPDX-License-Identifier: BSD-3-Clause # :- r"""Pure Python implementation of `dos2unix`. """ from __future__ import absolute_import import sys import cutils.dos2unix sys.exit(cutils.dos2unix.main())
