From 2bcfa48b45e958c37737ee143bea5775cb38563e Mon Sep 17 00:00:00 2001 From: icedphoenix Date: Thu, 13 Sep 2012 17:39:13 +0400 Subject: [PATCH] repograph: fixed. (was crashing on broken hdlists) --- urpm-repodiff.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/urpm-repodiff.py b/urpm-repodiff.py index bd0b836..a6b9366 100755 --- a/urpm-repodiff.py +++ b/urpm-repodiff.py @@ -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('@')