diff --git a/pnote/tools/search.py b/pnote/tools/search.py index 298010b..ece7fff 100644 --- a/pnote/tools/search.py +++ b/pnote/tools/search.py @@ -28,7 +28,7 @@ class ToolSearch(Tool): if not content_only: if not first: print() - print("=> "+subpath) + self.printsubpath(subpath) self.catsubpath(project,subpath) first=False @@ -50,7 +50,7 @@ class ToolSearch(Tool): if not content_only: if not first: print() - print("=> "+subpath) + self.printsubpath(subpath) for line in entry[1]: ln=line[0] content=line[1] diff --git a/pnote/tools/tool.py b/pnote/tools/tool.py index 5aa7901..5764a72 100644 --- a/pnote/tools/tool.py +++ b/pnote/tools/tool.py @@ -6,3 +6,6 @@ class Tool: def run(self, project, args): pass + + def printsubpath(self, subpath): + print("======= "+subpath+" =======")