Skip to content

Commit

Permalink
add detail to docstring on rewrite_all_attachment_work_components
Browse files Browse the repository at this point in the history
  • Loading branch information
goose-life committed Dec 12, 2024
1 parent 8955895 commit 35fd59e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bluebell/xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,8 @@ def get_displaced_content(start, name, marker):

def rewrite_all_attachment_work_components(self, xml):
""" Set unique and accurate work components on all attachments.
When attachments are renamed, this can affect other attachments' work components as well.
And because they can be edited independently, postprocessing might be our only opportunity to update the others.
"""
counter = defaultdict(lambda: 0)
ns = xml.nsmap[None]
Expand Down

0 comments on commit 35fd59e

Please sign in to comment.