2012-03-01 Joel Brobecker <brobecker@adacore.com>
+ * copyright.py (MULTILINE_COMMENT_PREFIXES): Delete.
+ (update_files): Do not set MULTILINE_COMMENT_PREFIXES
+ environment variable before calling update-copyright.
+
+2012-03-01 Joel Brobecker <brobecker@adacore.com>
+
* gnulib/extra/update-copyright: Update to the latest from
gnulib's git repository.
* copyright.py: Set UPDATE_COPYRIGHT_USE_INTERVALS environment
import os.path
import subprocess
-# A list of prefixes that start a multi-line comment. These prefixes
-# should not be repeatead when wraping long lines.
-MULTILINE_COMMENT_PREFIXES = (
- '/*', # C/C++
- '<!--', # XML
- '{', # Pascal
-)
-
def get_update_list():
"""Return the list of files to update.
We use gnulib's update-copyright script for that.
"""
- # Tell the update-copyright script that we do not want it to
- # repeat the prefixes in MULTILINE_COMMENT_PREFIXES.
- os.environ['MULTILINE_COMMENT_PREFIXES'] = \
- '\n'.join(MULTILINE_COMMENT_PREFIXES)
# We want to use year intervals in the copyright notices, and
# all years should be collapsed to one single year interval,
# even if there are "holes" in the list of years found in the