summaryrefslogtreecommitdiffstats
path: root/src/target/fake_trx/copyright.py
blob: 3d3597fd5e28869ab7b6d4e9cf6856a451810423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python2
# -*- coding: utf-8 -*-

def print_copyright(holders = []):
	# Print copyright holders if any
	for date, author in holders:
		print("Copyright (C) %s by %s" % (date, author))

	# Print the license header itself
	print("License GPLv2+: GNU GPL version 2 or later " \
		"<http://gnu.org/licenses/gpl.html>\n" \
		"This is free software: you are free to change and redistribute it.\n" \
		"There is NO WARRANTY, to the extent permitted by law.\n")