Mercurial > hgrepos > Python > apps > py-cutils
view dos2unix.py @ 115:e15b3d1ff0d9
New subpackage with a "contextlib.nullcontext" for older Python versions
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 29 Dec 2024 15:31:38 +0100 |
| parents | 6378ba9ae949 |
| children | 1856374bbd40 |
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())
