mirror of https://github.com/tLDP/python-tldp
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:
parent
03929b3519
commit
e268b80e84
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue