diff options
author | Kargatum <dowlandtop@yandex.com> | 2021-09-30 13:40:52 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-30 13:40:52 +0700 |
commit | 52aa0e996640dafe2b66d2e68d98ec68f9d9aa5e (patch) | |
tree | d1ca2d2c67eb6d865e76f8580ba94466de42a66a /apps/EnumUtils/enumutils_describe.py | |
parent | 6d83887abdb90ca30dbbceb939f7093b47465161 (diff) |
feat(License): add new headers information about license (#7941)
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
Diffstat (limited to 'apps/EnumUtils/enumutils_describe.py')
-rw-r--r-- | apps/EnumUtils/enumutils_describe.py | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/apps/EnumUtils/enumutils_describe.py b/apps/EnumUtils/enumutils_describe.py index 18946350de..ef9bf72a4f 100644 --- a/apps/EnumUtils/enumutils_describe.py +++ b/apps/EnumUtils/enumutils_describe.py @@ -2,16 +2,27 @@ from re import compile, MULTILINE from os import walk, getcwd notice = ('''/* - * Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3 - * Copyright (C) 2021+ WarheadCore <https://github.com/WarheadCore> - * Copyright (C) 2008-2021 TrinityCore <http://www.trinitycore.org/> + * This file is part of the AzerothCore Project. See AUTHORS file for Copyright information + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU Affero General Public License as published by the + * Free Software Foundation; either version 3 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. */ ''') if not getcwd().endswith('src'): print('Run this from the src directory!') - print('(Invoke as \'python ../contrib/enumutils_describe.py\')') + print('(Invoke as \'python ../apps/EnumUtils/enumutils_describe.py\')') exit(1) EnumPattern = compile(r'//\s*EnumUtils: DESCRIBE THIS(?:\s*\(in ([^\)]+)\))?\s+enum\s+([0-9A-Za-z]+)[^\n]*\s*{([^}]+)};') |