remove "random" text from MD5SUMS file

remove the date/time and hostname from the MD5SUMS file (why did I ever think
that was a good idea?)
This commit is contained in:
Martin A. Brown 2016-04-15 07:43:29 -07:00
parent 03929b3519
commit e268b80e84
1 changed files with 1 additions and 3 deletions

View File

@ -11,7 +11,6 @@ import time
import errno
import codecs
import shutil
import socket
import logging
import inspect
from tempfile import NamedTemporaryFile as ntf
@ -168,8 +167,7 @@ cd -- "{output.dirname}"'''
' '.join(self.source.md5sums.keys()),
md5s)
return self.shellscript(s, **kwargs)
header = '# -- MD5SUMS for {} computed on {} at {}'
header = header.format(self.source.stem, socket.gethostname(), timestr)
header = '# -- MD5SUMS for {}'.format(self.source.stem)
writemd5sums(md5file, self.source.md5sums, header=header)
return True