Mise à jour de Black vers la version 23.3 (#629)

This commit is contained in:
thomas girod
2023-04-22 15:32:31 +02:00
committed by GitHub
parent c78953b036
commit b5a40cfda9
135 changed files with 37 additions and 154 deletions

View File

@ -413,6 +413,7 @@ class UserGodfathersTreePictureView(CanViewMixin, DetailView):
self.graph = pgv.AGraph(strict=False, directed=True)
family = set()
self.level = 1
# Since the tree isn't very deep, we can build it recursively
def crawl_family(user):
if self.level > self.depth: