Signed-off-by: Mark Hymers <mhy@debian.org>
self.Subst["__SHORT_SUMMARY__"] = short_summary
self.Subst["__SHORT_SUMMARY__"] = short_summary
+ # Skip all of this if not sending mail to avoid confusing people
+ if cnf.has_key("Dinstall::Options::No-Mail") and cnf["Dinstall::Options::No-Mail"]:
+ return summary
+
for dist in self.pkg.changes["distribution"].keys():
suite = get_suite(dist)
if suite is None: continue
for dist in self.pkg.changes["distribution"].keys():
suite = get_suite(dist)
if suite is None: continue