From f896fdb3046cb2f679397ff7e1e82fde45206926 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 25 Oct 2012 17:19:39 -0400 Subject: [PATCH] .update-copyright.conf|README: convert %(project)s -> {project} formatting --- .update-copyright.conf | 10 +++++----- README | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.update-copyright.conf b/.update-copyright.conf index f19ae1a..664d386 100644 --- a/.update-copyright.conf +++ b/.update-copyright.conf @@ -9,11 +9,11 @@ ignored: COPYING | README | .update-copyright.conf | .git* pyfile: update_copyright/license.py [copyright] -short: %(project)s comes with ABSOLUTELY NO WARRANTY and is licensed under the GNU General Public License. -long: This file is part of %(project)s. +short: {project} comes with ABSOLUTELY NO WARRANTY and is licensed under the GNU General Public License. +long: This file is part of {project}. - %(project)s is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + {project} is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - %(project)s 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 General Public License for more details. + {project} 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 General Public License for more details. - You should have received a copy of the GNU General Public License along with %(project)s. If not, see . + You should have received a copy of the GNU General Public License along with {project}. If not, see . diff --git a/README b/README index 5d2e3ff..9a2a5e7 100644 --- a/README +++ b/README @@ -64,20 +64,20 @@ like:: pyfile: update_copyright/license.py [copyright] - short: %(project)s comes with ABSOLUTELY NO WARRANTY and is licensed under the GNU General Public License. - long: This file is part of %(project)s. + short: {project} comes with ABSOLUTELY NO WARRANTY and is licensed under the GNU General Public License. + long: This file is part of {project}. - %(project)s is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + {project} is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - %(project)s 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 General Public License for more details. + {project} 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 General Public License for more details. - You should have received a copy of the GNU General Public License along with %(project)s. If not, see . + You should have received a copy of the GNU General Public License along with {project}. If not, see . Options ------- project/name - A string naming your project. Replaces ``%(project)s`` in your + A string naming your project. Replaces ``{project}`` in your copyright blurbs. project/vcs The name of your version control system. -- 2.26.2