rename license -> license_
This commit is contained in:
parent
cbd7ac3d1a
commit
fde1aff4f5
1 changed files with 3 additions and 3 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue