Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
aewag committed Mar 2, 2023
1 parent c4a25ba commit b0e8c1c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion analysis/datastub/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,11 @@ def search_in_directory(filename, filepath):
# Download source package
command = f"apt-get source {package}"
debug(4, f"exec: {command}")
subprocess.check_output(shlex.split(command))
try:
subprocess.check_output(shlex.split(command))
except subprocess.CalledProcessError:
debug(0, f"Download sources failed for {package}")
return None, 0

DOWNLOADED_PACKAGE_SOURCES.append(bin_file_path)

Expand Down
7 changes: 6 additions & 1 deletion cryptolib/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
test_results
# Ignore everything
/*

# Except for DATA general directories
!common/
!selftest-*/

0 comments on commit b0e8c1c

Please sign in to comment.