Skip to content

Commit 7d47522

Browse files
author
Kirill Sibirev
committed
Handle comments in debian control
1 parent d08c39a commit 7d47522

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

debparse/deb_control/paragraphs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ def get_raw_paragraphs(data):
2828
for line in lines:
2929
if line:
3030
# start or continue form stanza
31+
if line.startswith('#'):
32+
continue
3133
lines_buffer.append(line)
3234
elif not line and lines_buffer:
3335
# end of paragraph

0 commit comments

Comments
 (0)