====== Updating copyright blurbs ======
===== Framework =====
* [[https://pypi.python.org/pypi/update-copyright/|Python script: update-copyright]]
You need to format your copyright blurbs in a certain way to have update-copyright.py updating them automatically. Side effect: the person who does this will appear as author of all the files they modified.
===== Adding Fortran support =====
diff --git a/update_copyright/project.py b/update_copyright/project.py
index 6a4e3a8..79f7fea 100644
--- a/update_copyright/project.py
+++ b/update_copyright/project.py
@@ -181,6 +181,11 @@ class Project (object):
authors=authors, text=self._copyright, info=self._info(),
prefix=('/* ', ' * ', ' */'), width=self._width,
tag=self._copyright_tag)
+ new_contents = _utils.update_copyright(
+ contents=new_contents, years=years,
+ authors=authors, text=self._copyright, info=self._info(),
+ prefix=('!! ', '!! ', ''), width=self._width,
+ tag=self._copyright_tag)
_utils.set_contents(
filename=filename, contents=new_contents,
original_contents=contents, unicode=True, encoding=self._encoding,