mirror of
https://abf.rosa.ru/djam/urpm-tools.git
synced 2025-02-24 01:42:46 +00:00
repograph: fixed. (was crashing on broken hdlists)
This commit is contained in:
parent
0d74bbef0c
commit
2bcfa48b45
1 changed files with 2 additions and 0 deletions
|
@ -356,6 +356,8 @@ def ParseSynthesis(synthfile, pkgdict, arg):
|
||||||
synth = open(synthfile)
|
synth = open(synthfile)
|
||||||
tmp = ['', '', '']
|
tmp = ['', '', '']
|
||||||
for synthline in synth:
|
for synthline in synth:
|
||||||
|
if not synthline.startswith('@'):
|
||||||
|
continue
|
||||||
if synthline.endswith('\n'):
|
if synthline.endswith('\n'):
|
||||||
synthline = synthline[:-1]
|
synthline = synthline[:-1]
|
||||||
tmpline = synthline.split('@')
|
tmpline = synthline.split('@')
|
||||||
|
|
Loading…
Add table
Reference in a new issue