Skip to content

Commit 8c8f62e

Browse files
committed
Add line separators to warning comment
The writelines method doesn't include newline characters automatically, so add them to the literal strings. Change-Id: I6677b19594d101f239542e24a70935639f2d04e7 Signed-off-by: Jeremy Stanley <fungi@yuggoth.org>
1 parent 5c20704 commit 8c8f62e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

openstack_requirements/cmds/generate.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727

2828

2929
SECURITY_WARNING = [
30-
"# WARNING: OpenStack makes no security guarantees about third-party",
31-
"# dependencies listed here, and does not keep track of any",
32-
"# vulnerabilities they contain. Versions of these dependencies are",
33-
"# frozen at each coordinated release in order to stabilize upstream",
34-
"# testing, and can contain known vulnerabilities. Consumers are",
35-
"# *STRONGLY* encouraged to rely on curated distributions of OpenStack",
36-
"# or manage security patching of dependencies themselves.",
30+
"# WARNING: OpenStack makes no security guarantees about third-party\n",
31+
"# dependencies listed here, and does not keep track of any\n",
32+
"# vulnerabilities they contain. Versions of these dependencies are\n",
33+
"# frozen at each coordinated release in order to stabilize upstream\n",
34+
"# testing, and can contain known vulnerabilities. Consumers are\n",
35+
"# *STRONGLY* encouraged to rely on curated distributions of OpenStack\n",
36+
"# or manage security patching of dependencies themselves.\n",
3737
]
3838

3939

0 commit comments

Comments
 (0)