From b667dcc6f79b44b599e106288a3f49d167087daa Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Mon, 18 Nov 2019 19:56:12 +0100 Subject: [PATCH] Added docstring to the counting function --- nw/project/project.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nw/project/project.py b/nw/project/project.py index 49105ce8..041029a1 100644 --- a/nw/project/project.py +++ b/nw/project/project.py @@ -582,6 +582,9 @@ class NWProject(): return True def countStatus(self): + """Count how many times the various status flags are used in the + project tree. + """ self.statusItems.resetCounts() self.importItems.resetCounts() for nwItem in self.projTree.values():