[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] modify blends_prospective_gatherer.py: exit(1) if 'dpkg-parsechangelog' does not exist



---
 udd/blends_prospective_gatherer.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/udd/blends_prospective_gatherer.py b/udd/blends_prospective_gatherer.py
index bb646f8..a130bb1 100644
--- a/udd/blends_prospective_gatherer.py
+++ b/udd/blends_prospective_gatherer.py
@@ -148,6 +148,7 @@ class blends_prospective_gatherer(gatherer):
             self.log.warning("Error parsing changelog of '%s' of %s\n %s:" % (source, sprosp['blend'], errstring))
 	else:
 	  self.log.error("dpkg-parsechangelog file does not exist - make sure dpkg-dev is installed")
+	  exit(1)
 
         for stanza in deb822.Sources.iter_paragraphs(p.stdout):
           if source != stanza['source']:
-- 
1.9.1


Reply to: