diff --git a/README.rst b/README.rst index 780aa87..d2acab8 100644 --- a/README.rst +++ b/README.rst @@ -36,6 +36,11 @@ under 10 minutes. Both tests on HFS+. Change Log ---------- +0.5.1 +~~~~~ + +* bugfix: warn about test mode only in test mode + 0.5.0 ~~~~~ diff --git a/src/bitrot.py b/src/bitrot.py index 2afd638..97fe219 100644 --- a/src/bitrot.py +++ b/src/bitrot.py @@ -40,7 +40,7 @@ import tempfile CHUNK_SIZE = 16384 DOT_THRESHOLD = 200 -VERSION = (0, 5, 0) +VERSION = (0, 5, 1) def sha1(path): @@ -198,7 +198,8 @@ def run(verbosity=1, test=False): print(' ', path) if not any((new_paths, updated_paths, missing_paths)): print() - print('warning: database file not updated on disk (test mode).') + if test: + print('warning: database file not updated on disk (test mode).') if error_count: sys.exit(1)