diff --git a/osc/core.py b/osc/core.py index 10f28ce0..90aa6075 100644 --- a/osc/core.py +++ b/osc/core.py @@ -4621,8 +4621,8 @@ def dgst(file): buf = f.read(BUFSIZE) if not buf: break s.update(buf) - return s.hexdigest() f.close() + return s.hexdigest() def binary(s):