diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2022-11-16 14:01:31 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2022-11-16 14:01:31 +0000 |
| commit | f5ddd5455fe8951d20664efe8aed04076c2f48c7 (patch) | |
| tree | e59b534c49ddde42b3dd4589be8d764345473855 | |
| parent | 19b6b3bee75926defa6997fb50bb7e03ea0836a9 (diff) | |
| download | docutils-f5ddd5455fe8951d20664efe8aed04076c2f48c7.tar.gz | |
Fix "shebang on non-executable files".
Based on patch in opensuse.org RPM package spec.
- Change mode of files supporting use as command-line script.
- Remove "shebang line" from library modules.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@9250 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
| -rw-r--r-- | docutils/docutils/utils/code_analyzer.py | 8 | ||||
| -rw-r--r-- | docutils/docutils/utils/math/latex2mathml.py | 1 | ||||
| -rw-r--r-- | docutils/docutils/utils/math/tex2mathml_extern.py | 1 | ||||
| -rwxr-xr-x[-rw-r--r--] | docutils/docutils/utils/smartquotes.py | 0 |
4 files changed, 3 insertions, 7 deletions
diff --git a/docutils/docutils/utils/code_analyzer.py b/docutils/docutils/utils/code_analyzer.py index 010a4416a..a9b027ca6 100644 --- a/docutils/docutils/utils/code_analyzer.py +++ b/docutils/docutils/utils/code_analyzer.py @@ -1,11 +1,9 @@ -#!/usr/bin/python3 - -"""Lexical analysis of formal languages (i.e. code) using Pygments.""" - -# :Author: Georg Brandl; Felix Wiemann; Günter Milde +# :Author: Georg Brandl; Lea Wiemann; Günter Milde # :Date: $Date$ # :Copyright: This module has been placed in the public domain. +"""Lexical analysis of formal languages (i.e. code) using Pygments.""" + from docutils import ApplicationError try: import pygments diff --git a/docutils/docutils/utils/math/latex2mathml.py b/docutils/docutils/utils/math/latex2mathml.py index ade0e8e47..897ed24cd 100644 --- a/docutils/docutils/utils/math/latex2mathml.py +++ b/docutils/docutils/utils/math/latex2mathml.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 # :Id: $Id$ # :Copyright: © 2005 Jens Jørgen Mortensen [1]_ # © 2010, 2021 Günter Milde. diff --git a/docutils/docutils/utils/math/tex2mathml_extern.py b/docutils/docutils/utils/math/tex2mathml_extern.py index 68a67b4c6..1f026b81e 100644 --- a/docutils/docutils/utils/math/tex2mathml_extern.py +++ b/docutils/docutils/utils/math/tex2mathml_extern.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 # :Id: $Id$ # :Copyright: © 2015 Günter Milde. # :License: Released under the terms of the `2-Clause BSD license`_, in short: diff --git a/docutils/docutils/utils/smartquotes.py b/docutils/docutils/utils/smartquotes.py index 996b0b8d9..996b0b8d9 100644..100755 --- a/docutils/docutils/utils/smartquotes.py +++ b/docutils/docutils/utils/smartquotes.py |
