gcc/contrib
Thomas Schwinge eb4a3e6a9a Fix 'contrib/update-copyright.py': 'TypeError: exceptions must derive from BaseException'
Running 'contrib/update-copyright.py' currently fails:

    [...]
    Traceback (most recent call last):
      File "contrib/update-copyright.py", line 365, in update_copyright
        canon_form = self.canonicalise_years (dir, filename, filter, years)
      File "contrib/update-copyright.py", line 270, in canonicalise_years
        (min_year, max_year) = self.year_range (years)
      File "contrib/update-copyright.py", line 253, in year_range
        year_list = [self.parse_year (year)
      File "contrib/update-copyright.py", line 253, in <listcomp>
        year_list = [self.parse_year (year)
      File "contrib/update-copyright.py", line 250, in parse_year
        raise self.BadYear (string)
    TypeError: exceptions must derive from BaseException

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "contrib/update-copyright.py", line 796, in <module>
        GCCCmdLine().main()
      File "contrib/update-copyright.py", line 527, in main
        self.copyright.process_tree (dir, filter)
      File "contrib/update-copyright.py", line 458, in process_tree
        self.process_file (dir, filename, filter)
      File "contrib/update-copyright.py", line 421, in process_file
        res = self.update_copyright (dir, filename, filter,
      File "contrib/update-copyright.py", line 366, in update_copyright
        except self.BadYear as e:
    TypeError: catching classes that do not inherit from BaseException is not allowed

Fix up for commit 3b25e83536
"Port update-copyright.py to Python3".

	contrib/
	* update-copyright.py (class BadYear): Derive from 'Exception'.
2021-11-08 11:48:26 +01:00
..
gcc-changelog Add -v option for git_check_commit.py. 2021-11-04 15:01:52 +01:00
header-tools
legacy
reghunt
regression
testsuite-management contrib: testsuite-management: Update to be python3 compatible 2021-11-05 16:38:03 +01:00
unicode contrib: add unicode/utf8-dump.py 2021-11-01 11:52:28 -04:00
vim-gcc-dev
analyze_brprob_spec.py
analyze_brprob.py
bench-stringop
ChangeLog Daily bump. 2021-11-06 00:16:24 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
check_GNU_style_lib.py
check_GNU_style.py
check_GNU_style.sh
check_makefile_deps.sh
check_warning_flags.sh
check-internal-format-escaping.py Fix flake8 errors. 2021-11-02 10:27:27 +01:00
check-params-in-docs.py
clang-format
compare_tests
compare_two_ftime_report_sets
compare-all-tests
compare-debug
compare-lto
compareSumTests3
config-list.mk Obsolete hppa[12]*-*-hpux10* and hppa[12]*-*-hpux11* 2021-09-20 11:25:18 +02:00
dg-cmp-results.sh
dg-extract-results.py
dg-extract-results.sh
dglib.pm
download_prerequisites Fix PR 90142: contrib/download_prerequisites uses test == 2021-08-30 20:53:19 +00:00
filter_gcc_for_doxygen
filter_knr2ansi.pl
filter_params.py
filter-clang-warnings.py contrib: filter out mmx.md file. 2021-10-02 13:30:54 +02:00
gcc_build
gcc_update gcc_update: use human readable name for revision string in gcc/REVISION 2021-09-06 15:34:39 +03:00
gcc-git-customization.sh commit-mklog: Add --co argument. 2021-08-18 10:36:35 +02:00
gcc.doxy
gen_autofdo_event.py Update gen_autofdo_event.py and gcc-auto-profile. 2021-07-01 23:30:14 -07:00
gennews Update gennews for GCC 10 and GCC 11. 2021-04-27 11:02:27 +02:00
git-add-user-branch.sh
git-add-vendor-branch.sh
git-backport.py
git-commit-mklog.py commit-mklog: Add --co argument. 2021-08-18 10:36:35 +02:00
git-fetch-vendor.sh
gthr_supp_vxw_5x.c
index-prop
jit-coverage-report.py
maintainers-verify.sh
make_sunver.pl
make-obstacks-texi.pl
mark_spam.py
mklog.py mklog: fix renaming with version 0.7.0. 2021-08-26 10:20:20 +02:00
paranoia.cc
patch_tester.sh
prepare_patch.sh
prepare-commit-msg contrib: add git-commit-mklog wrapper 2021-06-23 09:39:10 +02:00
prerequisites.md5 Update mpfr version to 3.1.6 2021-05-17 08:56:28 +02:00
prerequisites.sha512 Update mpfr version to 3.1.6 2021-05-17 08:56:28 +02:00
repro_fail
test_installed
test_mklog.py mklog: Handle correctly long lines. 2021-06-28 13:43:41 +02:00
test_recheck
test_summary
texi2pod.pl
uninclude
unused_functions.py
update-copyright.py Fix 'contrib/update-copyright.py': 'TypeError: exceptions must derive from BaseException' 2021-11-08 11:48:26 +01:00
vimrc Limit fill-column to 79 2021-07-20 11:14:18 +01:00
warn_summary