mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 07:56:16 +00:00
Fixed: adding python changes to master.
This commit is contained in:
parent
e8d265102c
commit
d0ff0151a0
1
test/script/regression.py
Normal file → Executable file
1
test/script/regression.py
Normal file → Executable file
@ -719,6 +719,7 @@ class TestConfiguration(object):
|
||||
self.email_enabled = True
|
||||
print("Email will be sent to ", self.mail_to)
|
||||
else:
|
||||
self.email_enabled = False
|
||||
print("No email will be sent.")
|
||||
|
||||
|
||||
|
7
test/script/srcupdater.py
Normal file → Executable file
7
test/script/srcupdater.py
Normal file → Executable file
@ -74,6 +74,13 @@ def gitPull(TskOrAutopsy, branch):
|
||||
gppth = make_local_path("..", "GitPullOutput" + TskOrAutopsy + ".txt")
|
||||
attachl.append(gppth)
|
||||
gpout = open(gppth, 'a')
|
||||
if TskOrAutopsy == "sleuthkit":
|
||||
ccwd = os.path.join("..", "..", "..", "sleuthkit")
|
||||
else:
|
||||
ccwd = os.path.join("..", "..")
|
||||
print("Checking out " + branch)
|
||||
call = ["git", "checkout", branch]
|
||||
subprocess.call(call, stdout=sys.stdout, cwd=ccwd)
|
||||
toPull = "https://www.github.com/sleuthkit/" + TskOrAutopsy
|
||||
call = ["git", "pull", toPull, branch]
|
||||
if TskOrAutopsy == "sleuthkit":
|
||||
|
Loading…
x
Reference in New Issue
Block a user