From f2b40c5f7e73ce8a582e63cc23022914edc2228f Mon Sep 17 00:00:00 2001 From: Michael Opdenacker Date: Fri, 4 Oct 2019 15:13:52 +0200 Subject: [PATCH] update.py: fix division by zero in progress report - Required when there are no new tags Signed-off-by: Michael Opdenacker --- update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.py b/update.py index acb9d0c..427181d 100755 --- a/update.py +++ b/update.py @@ -138,7 +138,7 @@ numTags = len(tagBuf) tagCount = 0 project = lib.currentProject () -progress ('found ' + str(len(tagBuf)) + ' new tags') +print (project + ' - found ' + str(len(tagBuf)) + ' new tags') for tag in tagBuf: tagCount +=1