1
0
mirror of https://github.com/certbot/certbot.git synced 2025-08-08 04:02:10 +03:00

Insert new line before "More details about these changes can be found on our GitHub repo." (#8645)

Fixing #8634. It's my first time contributing to this repository, if there's something wrong please let me know.

Before this fix

```
$ python3 extract_changelog.py 1.12.0
...
### Fixed
* Fixed the apache component on openSUSE Tumbleweed which no longer provides
  an apache2ctl symlink and uses apachectl instead.
* Fixed a typo in `certbot/crypto_util.py` causing an error upon attempting `secp521r1` key generation
More details about these changes can be found on our GitHub repo.
```

After this fix

```
$ python3 extract_changelog.py 1.12.0
...
### Fixed
* Fixed the apache component on openSUSE Tumbleweed which no longer provides
  an apache2ctl symlink and uses apachectl instead.
* Fixed a typo in `certbot/crypto_util.py` causing an error upon attempting `secp521r1` key generation

More details about these changes can be found on our GitHub repo.
```
This commit is contained in:
Yuma Mihira
2021-02-26 09:30:48 +09:00
committed by GitHub
parent 540fd6db93
commit d3ca6af982

View File

@@ -24,7 +24,7 @@ def main():
i = 0
while i < len(lines):
if section_pattern.match(lines[i]):
i = i + 1
i = i + 2
while i < len(lines):
if NEW_SECTION_PATTERN.match(lines[i]):
break
@@ -32,8 +32,6 @@ def main():
i = i + 1
i = i + 1
changelog = [entry for entry in changelog if entry]
print('\n'.join(changelog))