mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Revert "cmd and its options tokenized"
This commit is contained in:
parent
622cc8dcf4
commit
d68c54ae3b
@ -845,7 +845,7 @@ class TestResultsDiffer(object):
|
||||
diff_path = os.path.splitext(os.path.basename(output_file))[0]
|
||||
diff_path += "-Diff.txt"
|
||||
diff_file = codecs.open(diff_path, "wb", "utf_8")
|
||||
dffcmdlst = ["diff", "--side-by-side", output_file, gold_file]
|
||||
dffcmdlst = ["diff --side-by-side", output_file, gold_file]
|
||||
subprocess.call(dffcmdlst, stdout = diff_file)
|
||||
Errors.add_errors_out(diff_path)
|
||||
return False
|
||||
|
@ -139,7 +139,7 @@ class TskDbDiff(object):
|
||||
|
||||
# If they are different, invoke 'diff'
|
||||
diff_file = codecs.open(diff_path, "wb", "utf_8")
|
||||
dffcmdlst = ["diff", "--side-by-side", gold_file, output_file]
|
||||
dffcmdlst = ["diff --side-by-side", gold_file, output_file]
|
||||
subprocess.call(dffcmdlst, stdout = diff_file)
|
||||
return False
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user