Ignore extra fields at the end of the .dsc file

This commit is contained in:
Luca Falavigna 2010-04-17 12:43:41 +02:00
parent d3a972de33
commit 5565c16af1

View File

@ -44,6 +44,8 @@ def dsc_getfiles(dsc):
break break
for l in f: for l in f:
if not l.startswith(' '):
continue
if l.strip() == '': if l.strip() == '':
break break
fname = l.split()[2] fname = l.split()[2]