aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbcopyright.py
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbcopyright.py')
-rw-r--r--gdb/gdbcopyright.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/gdbcopyright.py b/gdb/gdbcopyright.py
index 9526eac..1e38036 100644
--- a/gdb/gdbcopyright.py
+++ b/gdb/gdbcopyright.py
@@ -17,11 +17,12 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
def copyright(tool, description):
# Search the tool source itself for the correct copyright years.
- with open(tool, 'r') as f:
+ with open(tool, "r") as f:
for line in f:
- if line.startswith('# Copyright (C) '):
+ if line.startswith("# Copyright (C) "):
dateline = line[1:].strip()
break
return f"""/* *INDENT-OFF* */ /* THIS FILE IS GENERATED -*- buffer-read-only: t -*- */