[bts-link] 01/01: initialize 'msg' so it is always there, even when handling exceptions
Sandro Tosi
morph at moszumanska.debian.org
Wed Nov 4 02:01:39 UTC 2015
This is an automated email from the git hooks/post-receive script.
morph pushed a commit to branch master
in repository bts-link.
commit 827e9dcf0964fa16180a156ce19ec8749624e8b7
Author: Sandro Tosi <morph at debian.org>
Date: Wed Nov 4 02:01:32 2015 +0000
initialize 'msg' so it is always there, even when handling exceptions
---
btspull | 2 ++
1 file changed, 2 insertions(+)
diff --git a/btspull b/btspull
index aae6371..e24bbf5 100755
--- a/btspull
+++ b/btspull
@@ -212,6 +212,8 @@ if __name__ == "__main__":
# if there is only one pkg, it does the right thing since the join does nothing in this case
spkg_cc = '@packages.debian.org, '.join(spkg.split(','))+'@packages.debian.org'
+ msg = None
+
try:
msg = mailer.BtsMail(u'\n'.join(precmds + cmds))
msg['From'] = Cnf.sender()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bts-link/bts-link.git
More information about the bts-link-commits
mailing list