Mercurial > hgrepos > Python > apps > py-cutils
view dos2unix.py @ 83:05e2bf4796fd
Add an option "--checklist-allow-distinfo" to allow FreeBSD "distinfo" formatted files as checkfiles.
This effectively ignores SIZE() and TIMESTAMP = like lines instead of
throwing errors.
This allows to use a package's distinfo file directoy as checkfile.
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Thu, 10 Mar 2022 16:17:53 +0100 |
| parents | 6cec638c995c |
| children | 6378ba9ae949 |
line wrap: on
line source
# -*- coding: utf-8 -*- # :- # :Copyright: (c) 2020-2022 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())
