repograph: fixed. (was crashing on broken hdlists)

This commit is contained in:
icedphoenix 2012-09-13 17:39:13 +04:00
parent 0d74bbef0c
commit 2bcfa48b45

View file

@ -356,6 +356,8 @@ def ParseSynthesis(synthfile, pkgdict, arg):
synth = open(synthfile)
tmp = ['', '', '']
for synthline in synth:
if not synthline.startswith('@'):
continue
if synthline.endswith('\n'):
synthline = synthline[:-1]
tmpline = synthline.split('@')