-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for downloading grr timeline flow results (#630)
* Adding support for GRR timeline flow results. If the given GRR flow ID is a TimelineFlow, the _DownloadFiles function will now collect the resulting timeline body file instead of the ArtifactArchive. This change allows the grr_flow_ts recipe to also proces timeline flow results. * Adding missing import of shutil for using copy2 function. * Updated the `grr_host.py` unit tests to reflect the changes made to the `_DownloadFiles` function. * Fixing pylint error for the `_mock_Get` argument in the `testNotDownloadFilesForExistingFlow` function. * Shortening some lines to make the pylinter happy. * Shortened another long line to make the pylinter happy.
- Loading branch information
Showing
2 changed files
with
78 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters