Package: rss2email Version: 2.60-3 Severity: normal Tags: patch While researching #383594, I found
Traceback (most recent call last): File "/usr/share/rss2email/rss2email.py", line 711, in ? if args and args[-1].isdigit(): run(int(args[-1])) File "/usr/share/rss2email/rss2email.py", line 664, in run if smtpserver: UnboundLocalError: local variable 'smtpserver' referenced before assignment please accept the attached patch to fix this. -- .''`. martin f. krafft <[EMAIL PROTECTED]> : :' : proud Debian developer, author, administrator, and user `. `'` http://people.debian.org/~madduck - http://debiansystem.info `- Debian - when you have better things to do than fixing systems
--- /usr/share/rss2email/rss2email.py 2007-08-28 16:29:03.418038415 +0200 +++ /tmp/rss2email/rss2email.py 2007-08-28 16:32:31.340700207 +0200 @@ -452,6 +452,9 @@ def run(num=None): feeds, feedfileObject = load() + + smtpserver = None + try: # We store the default to address as the first item in the feeds list. # Here we take it out and save it for later. @@ -461,8 +464,6 @@ if num: ifeeds = [feeds[num]] - smtpserver = None - for f in ifeeds: try: if VERBOSE: print >>warn, "I: Processing", f.url
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)