Package: rss2email / 1:3.9-4.1

Metadata

Package Version Patches format
rss2email 1:3.9-4.1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
document config.patch | (download)

r2e.1 | 136 136 + 0 - 0 !
1 file changed, 136 insertions(+)

 [patch] document configuration items in manpage
Bug-Debian: https://bugs.debian.org/752458
content type warning.patch | (download)

rss2email/feed.py | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 [patch] log a warning when content-type is not correct

When a feed is served with a wrong Content-Type, log a warning and not an error.
This prevents a "processing error" message from being displayed at the default
log level, which is confusing for a innocuous "error" like this.

sslv3.patch | (download)

rss2email/config.py | 2 1 + 1 - 0 !
rss2email/email.py | 3 3 + 0 - 0 !
2 files changed, 4 insertions(+), 1 deletion(-)

 [patch] use tlsv1 instead of sslv3

As reported in https://bugs.debian.org/781315, SSLv3 is now disabled in Python3.
It is thus necessary to perform the following changes:

  - modify the default configuration value
  - replace the existing uses of SSLv3 by TLSv1 (issuing a warning)

Reported-by: Andrew Shadura <andrewsh@debian.org>
Signed-off-by: Etienne Millon <me@emillon.org>
Bug-Debian: https://bugs.debian.org/781315
dont overwrite config.patch | (download)

rss2email/command.py | 2 2 + 0 - 0 !
rss2email/error.py | 6 6 + 0 - 0 !
rss2email/feeds.py | 3 3 + 0 - 0 !
3 files changed, 11 insertions(+)

 [patch] r2e new: do not overwrite existing config
Bug-Debian: https://bugs.debian.org/805224
prettify.patch | (download)

rss2email/post_process/prettify.py | 5 3 + 2 - 0 !
1 file changed, 3 insertions(+), 2 deletions(-)

 [patch] fix prettify post-process hook
Bug-Debian: https://bugs.debian.org/805241
833114.patch | (download)

rss2email/feed.py | 7 4 + 3 - 0 !
1 file changed, 4 insertions(+), 3 deletions(-)

 [patch] feed: don't pop from extra_headers while iterating over it

Avoid:

  Traceback (most recent call last):
    ...
      for k,v in extra_headers.items():
    File "/.../Python-3.5.0a1/Lib/_collections_abc.py", line 503, in __iter__
      for key in self._mapping:
    File "/.../Python-3.5.0a1/Lib/collections/__init__.py", line 112, in __iter__
      yield curr.key
  AttributeError: 'NoneType' object has no attribute 'key'

from continuing to iterate on items() after popping a key.  This
worked in Python 3.4 but no longer works in Python 3.5.  In any case,
mutating an object while iterating over it is always a bit
questionable, so rephrase to find the keys in one pass, and then
remove them after the iteration completes.

Reported-by: Raniere Silva <raniere@ime.unicamp.br>
Signed-off-by: W. Trevor King <wking@tremily.us>