Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
Handle 'ReleaseSchedule' object has no attribute 'schedule_data'
Browse files Browse the repository at this point in the history
  • Loading branch information
locriandev committed Nov 3, 2022
1 parent c4fb0ba commit a0f5e80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doozerlib/distgit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit a0f5e80

Please sign in to comment.