diff mbox series

[layerindex-web,2/6] rrs_maintainer_history: fix syntax

Message ID 836eca1d82cdc4d9335e741fc5ef4a6c67dedd69.1705341467.git.tim.orling@konsulko.com
State New
Headers show
Series [layerindex-web,1/6] rrs_maintainer_history: new override syntax | expand

Commit Message

Tim Orling Jan. 15, 2024, 6:03 p.m. UTC
* Fix the link_maintainer.recipesymbol.pn syntax for debug logging

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 rrs/tools/rrs_maintainer_history.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/rrs/tools/rrs_maintainer_history.py b/rrs/tools/rrs_maintainer_history.py
index d2dd94a..a6da861 100755
--- a/rrs/tools/rrs_maintainer_history.py
+++ b/rrs/tools/rrs_maintainer_history.py
@@ -136,7 +136,7 @@  def maintainers_inc_history(options, logger, maintplan, layerbranch, repodir, la
                         rm.history = rms
                         rm.save()
                         if link_maintainer:
-                            logger.debug("%s: linked to maintainer for %s" % (recipe.pn, link_maintainer.recipe.pn))
+                            logger.debug("%s: linked to maintainer for %s" % (recipe.pn, link_maintainer.recipesymbol.pn))
                         else:
                             logger.debug("%s: Not found maintainer in commit %s set to 'No maintainer'." % \
                                             (recipe.pn, rms.sha1))
@@ -155,7 +155,7 @@  def maintainers_inc_history(options, logger, maintplan, layerbranch, repodir, la
                     rm.history = rms
                     rm.save()
                     if link_maintainer:
-                        logger.debug("%s: New recipe linked to maintainer for %s" % (recipe.pn, link_maintainer.recipe.pn))
+                        logger.debug("%s: New recipe linked to maintainer for %s" % (recipe.pn, link_maintainer.recipesymbol.pn))
                     else:
                         logger.debug("%s: New recipe not found maintainer set to 'No maintainer'." % \
                                     (recipe.pn))