Bug#723140: rss2email: Support paused feeds in r2e-migrate script

2013-09-17 Thread Etienne Millon
* W. Trevor King wk...@tremily.us [130917 08:12]: I haven't used the conversion script myself, but if you're using slugify(url) to generate feed names in add(), I'd recommend using the same feed name (and not the feed index) for pausing: def pause(url): return

Bug#723140: rss2email: Support paused feeds in r2e-migrate script

2013-09-16 Thread Denis Laxalde
Package: rss2email Version: 1:3.5-1~exp1 Severity: wishlist Tags: patch Hi, The attached patch for r2e-migrate script adds support for paused (inactive) feeds during migration. I found it quite useful not to have to redefine this by hand afterwards. Thanks for considering, Denis. -- System

Bug#723140: rss2email: Support paused feeds in r2e-migrate script

2013-09-16 Thread W. Trevor King
On Mon, Sep 16, 2013 at 09:28:19PM +0200, Denis Laxalde wrote: def add(url): return subprocess.call(['r2e', 'add', slugify(url), url]) +def pause(index): +return subprocess.call(['r2e', 'pause', str(index)]) def main(): if new_db_exists(): @@ -88,10 +90,12 @@ def