Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add the checks from the TODO list (issue #412) * Output warns to stderr. Add impl. looking for repl img. * Use capitalized WARNING and ERROR consistenly. * Finish implementation that looks for replacement image. * Some pylint inspired code cleanup. Also add error if build date is in the future. * Minor improvements towards idiomatic Python * replace Boolean by more explicit parameter * rename function to be more telling * Add recommendation how to deal with old images. * Appease markdownlint (which disliked the leading space) * Reduce globals, reduce API calls, remove unnecessary loop * Pacify flake8 by implementing missing output * Further reduce globals and improve warning messages * move log output out of is_outdated to avoid duplicate output * simplify logic in is_outdated * Bugfix: output log message to stderr * improve shortnm construction --------- Signed-off-by: Kurt Garloff <[email protected]> Signed-off-by: Matthias Büchse <[email protected]> Co-authored-by: Matthias Büchse <[email protected]>
- Loading branch information