remove temp variable

This commit is contained in:
Damien Elmes 2021-03-19 00:09:15 +10:00
parent 05876f1299
commit 1621f2ff26

View file

@ -89,8 +89,7 @@ class TagManager:
def rename(self, old: str, new: str) -> OpChangesWithCount: def rename(self, old: str, new: str) -> OpChangesWithCount:
"Rename provided tag and its children, returning number of changed notes." "Rename provided tag and its children, returning number of changed notes."
x = self.col._backend.rename_tags(current_prefix=old, new_prefix=new) return self.col._backend.rename_tags(current_prefix=old, new_prefix=new)
return x
def remove(self, space_separated_tags: str) -> OpChangesWithCount: def remove(self, space_separated_tags: str) -> OpChangesWithCount:
"Remove the provided tag(s) and their children from notes and the tag list." "Remove the provided tag(s) and their children from notes and the tag list."