From 375e90dccd32bf5d4308766d635d35734c627e76 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Wed, 16 Nov 2016 21:53:52 -0700 Subject: [PATCH] BUG: Fix pavement.py write_release_task. Correct indentation of commands that should be in an open file context. --- pavement.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pavement.py b/pavement.py index a6072a9979c2..5fc936788e88 100644 --- a/pavement.py +++ b/pavement.py @@ -601,13 +601,13 @@ def write_release_task(options, filename='NOTES.txt'): ~~~ """) - ftarget.writelines(['%s\n' % c for c in compute_md5(idirs)]) - ftarget.writelines(""" + ftarget.writelines(['%s\n' % c for c in compute_md5(idirs)]) + ftarget.writelines(""" SHA256 ~~~~~~ """) - ftarget.writelines(['%s\n' % c for c in compute_sha256(idirs)]) + ftarget.writelines(['%s\n' % c for c in compute_sha256(idirs)]) # Sign release cmd = ['gpg', '--clearsign', '--armor']