Skip to content

Commit

Permalink
Rename project's copyright configuration key to copyright_notice (#2167)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartfeenstra authored Oct 27, 2024
1 parent 272a7a4 commit 160328f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions betty/project/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ def load(self, dump: Dump) -> None:
OptionalField("locales", self.locales.load),
OptionalField("extensions", self.extensions.load),
OptionalField("entity_types", self.entity_types.load),
OptionalField("copyright", self.copyright_notice.load),
OptionalField("copyright_notice", self.copyright_notice.load),
OptionalField("copyright_notices", self.copyright_notices.load),
OptionalField("license", self.license.load),
OptionalField("licenses", self.licenses.load),
Expand All @@ -1161,7 +1161,7 @@ def dump(self) -> DumpMapping[Dump]:
"locales": self.locales.dump(),
"extensions": self.extensions.dump(),
"entity_types": self.entity_types.dump(),
"copyright": self.copyright_notice.dump(),
"copyright_notice": self.copyright_notice.dump(),
"copyright_notices": self.copyright_notices.dump(),
"license": self.license.dump(),
"licenses": self.licenses.dump(),
Expand Down

0 comments on commit 160328f

Please sign in to comment.