Commit 859510ae by Fred Alger

Fix remote md5 in fetch module, related to Issue #450

parent a6dccd63
......@@ -477,7 +477,7 @@ class Runner(object):
local_md5 = None
if os.path.exists(dest):
local_md5 = os.popen("md5sum %s" % dest).read().split()[0]
remote_md5 = self._low_level_exec_command(conn, "md5sum %s" % source, tmp, True)[0].split()[0]
remote_md5 = self._low_level_exec_command(conn, "md5sum %s" % source, tmp, True).split()[0]
if remote_md5 != local_md5:
# create the containing directories, if needed
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment