-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore config backup functionality #2569
Following our move to Py3.6, we were unable to create a new config backup due to a failure to get the md5 digest of a gzip file (such as a config backup). Our config backup restore was also failing to the presence of a Py2.7-specific bit of code. This commit: - adjusts `md5sum()` to be able to read a compressed file as well. - ensures the task def validation returns the share/pool id as string - add type hints to help ensure proper types are used/returned - minor docstrings adjustments - Copyright update
- Loading branch information
1 parent
af36c67
commit 1432dbc
Showing
2 changed files
with
23 additions
and
21 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