From ac0f0860f17b319c8dd36052f8df5bda075274af Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Fri, 27 Mar 2020 10:56:45 +0100 Subject: [PATCH] Reformatting to pacify pylint Signed-off-by: Gilles Peskine --- scripts/assemble_changelog.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/scripts/assemble_changelog.py b/scripts/assemble_changelog.py index d8a6e4c1a..c868a6c7e 100755 --- a/scripts/assemble_changelog.py +++ b/scripts/assemble_changelog.py @@ -310,11 +310,11 @@ class EntryFileSortKey: @staticmethod def commit_timestamp(commit_id): - """Return the timestamp of the given commit.""" - text = subprocess.check_output(['git', 'show', '-s', - '--format=%ct', - commit_id]) - return datetime.datetime.utcfromtimestamp(int(text)) + """Return the timestamp of the given commit.""" + text = subprocess.check_output(['git', 'show', '-s', + '--format=%ct', + commit_id]) + return datetime.datetime.utcfromtimestamp(int(text)) @staticmethod def file_timestamp(filename): @@ -470,7 +470,8 @@ def main(): ' (default: overwrite the input)') parser.add_argument('--list-files-only', action='store_true', - help='Only list the files that would be processed (with some debugging information)') + help=('Only list the files that would be processed' + '(with some debugging information)')) options = parser.parse_args() set_defaults(options) if options.list_files_only: