rename license -> license_

This commit is contained in:
Maximilian Keßler 2022-02-07 17:10:12 +01:00
parent cbd7ac3d1a
commit fde1aff4f5

View file

@ -122,10 +122,10 @@ class FormattingConfig(Config):
self._include_time = header[YAML_INCLUDE_TIME]
license = header[YAML_LICENSE]
self._include_license = license[YAML_INCLUDE_LICENSE]
license_ = header[YAML_LICENSE]
self._include_license = license_[YAML_INCLUDE_LICENSE]
self._license = GenericText(
license[YAML_PATH] if license[YAML_PATH] else license[YAML_TEXT]
license_[YAML_PATH] if license_[YAML_PATH] else license_[YAML_TEXT]
)
docstrip = content[YAML_DOCSTRIP]