From 2ba61e86601e3db32155eb4a68acc26e4618dbf1 Mon Sep 17 00:00:00 2001
From: "W. Trevor King"
Date: Thu, 4 Oct 2012 07:50:01 -0400
Subject: [PATCH] Nominally convert to Python >=3.2.
---
r2e | 2 +-
r2e.bat | 2 +-
readme.html | 14 +++++++-------
rss2email.py | 2 +-
4 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/r2e b/r2e
index e582fae..453981a 100755
--- a/r2e
+++ b/r2e
@@ -1,2 +1,2 @@
#!/bin/sh
-python rss2email.py feeds.dat $*
+python3 rss2email.py feeds.dat $*
diff --git a/r2e.bat b/r2e.bat
index d80fcdf..65143df 100755
--- a/r2e.bat
+++ b/r2e.bat
@@ -1 +1 @@
-@python rss2email.py feeds.dat %1 %2 %3 %4 %5 %6 %7 %8 %9
+@python3 rss2email.py feeds.dat %1 %2 %3 %4 %5 %6 %7 %8 %9
diff --git a/readme.html b/readme.html
index cb2a677..f6ad30e 100644
--- a/readme.html
+++ b/readme.html
@@ -39,9 +39,9 @@ http://feeds.feedburner.com/allthingsrss/hJBr
Before you install rss2email, you'll need to make sure that a few
things are in place. First, is that a version
-of Python 2.x installed. Second,
-determine your outgoing email server's address. That should be all you
-need.
+of Python 3.2 or greater
+installed. Second, determine your outgoing email server's
+address. That should be all you need.
Download
@@ -93,10 +93,10 @@ from the .ZIP
package.
Before you install rss2email, you'll need to make sure that a few
things are in place: a version
-of Python 2.x and sendmail (or a
-compatible replacement like postfix) installed. If sendmail isn't
-installed, determine your outgoing email server's address. That should
-be all you need.
+of Python ≥3.2 and sendmail
+(or a compatible replacement like postfix) installed. If sendmail
+isn't installed, determine your outgoing email server's address. That
+should be all you need.
Download
diff --git a/rss2email.py b/rss2email.py
index 7696d99..1f8fd0f 100755
--- a/rss2email.py
+++ b/rss2email.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python3
"""rss2email: get RSS feeds emailed to you
http://rss2email.infogami.com
--
2.26.2