contrib: Remove C-style comments from Python files
Checks
Commit Message
I plan to push this as obvious.
There are also 32 other files that match "^# .*licenses/>\. *\*/$" in
the repo, mostly .exp files in the testsuite. I'm not changing them,
only the Python files under contrib.
-- >8 --
These Python scripts have "*/" at the end of the license header comment
blocks, presumably copy&pasted from C files.
contrib/ChangeLog:
* analyze_brprob.py: Remove stray text at end of comment.
* analyze_brprob_spec.py: Likewise.
* check-params-in-docs.py: Likewise.
* check_GNU_style.py: Likewise.
* check_GNU_style_lib.py: Likewise.
* filter-clang-warnings.py: Likewise.
* gcc-changelog/git_check_commit.py: Likewise.
* gcc-changelog/git_commit.py: Likewise.
* gcc-changelog/git_email.py: Likewise.
* gcc-changelog/git_repository.py: Likewise.
* gcc-changelog/git_update_version.py: Likewise.
* gcc-changelog/test_email.py: Likewise.
* gen_autofdo_event.py: Likewise.
* mark_spam.py: Likewise.
* unicode/gen-box-drawing-chars.py: Likewise.
* unicode/gen-combining-chars.py: Likewise.
* unicode/gen-printable-chars.py: Likewise.
* unicode/gen_wcwidth.py: Likewise.
---
contrib/analyze_brprob.py | 2 +-
contrib/analyze_brprob_spec.py | 2 +-
contrib/check-params-in-docs.py | 2 +-
contrib/check_GNU_style.py | 2 +-
contrib/check_GNU_style_lib.py | 2 +-
contrib/filter-clang-warnings.py | 2 +-
contrib/gcc-changelog/git_check_commit.py | 2 +-
contrib/gcc-changelog/git_commit.py | 2 +-
contrib/gcc-changelog/git_email.py | 2 +-
contrib/gcc-changelog/git_repository.py | 2 +-
contrib/gcc-changelog/git_update_version.py | 2 +-
contrib/gcc-changelog/test_email.py | 2 +-
contrib/gen_autofdo_event.py | 2 +-
contrib/mark_spam.py | 2 +-
contrib/unicode/gen-box-drawing-chars.py | 2 +-
contrib/unicode/gen-combining-chars.py | 2 +-
contrib/unicode/gen-printable-chars.py | 2 +-
contrib/unicode/gen_wcwidth.py | 2 +-
18 files changed, 18 insertions(+), 18 deletions(-)
@@ -18,7 +18,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
#
#
#
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
import sys
import os
@@ -19,7 +19,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
#
#
#
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
import argparse
import sys
@@ -20,7 +20,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
#
# The script requires python packages, which can be installed via pip3
# like this:
@@ -18,7 +18,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
#
#
#
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
import argparse
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
import difflib
import os
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
import os
import re
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
from datetime import datetime
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
import argparse
import datetime
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
import os
import tempfile
@@ -15,7 +15,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
# Run it with perf record -b -e EVENT program ...
# The Linux Kernel needs to support the PMU of the current CPU, and
@@ -18,7 +18,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
#
#
#
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
import unicodedata
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
from pprint import pprint
import unicodedata
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
from pprint import pprint
import unicodedata
@@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>. */
+# <http://www.gnu.org/licenses/>.
import sys
import os