From a0f5e80f1196a47d633209575819b9896c038f8b Mon Sep 17 00:00:00 2001 From: "D. Paolella" Date: Thu, 3 Nov 2022 13:04:58 +0100 Subject: [PATCH] Handle 'ReleaseSchedule' object has no attribute 'schedule_data' --- doozerlib/distgit.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doozerlib/distgit.py b/doozerlib/distgit.py index 17ed787b1..4f32d9d63 100644 --- a/doozerlib/distgit.py +++ b/doozerlib/distgit.py @@ -1654,6 +1654,10 @@ def _should_match_upstream(self) -> bool: # A GITLAB token env var was not provided: display a warning and fallback to default self.logger.error(f'Fallback to default ART config: {e}') return False + except AttributeError as e: + # Catch "'ReleaseSchedule' object has no attribute 'schedule_data'" error + self.logger.error(f'Failed getting ff date: {e}') + return False elif self.runtime.group_config.canonical_builders_from_upstream == 'on': return True elif self.runtime.group_config.canonical_builders_from_upstream == 'off':