changeset 110:13f6a41882be

py3
author Jeff Hammel <k0scist@gmail.com>
date Tue, 03 Nov 2020 13:36:54 -0800
parents 1fc637c3acc0
children bb61d86be013
files bitsyblog/bitsyblog.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bitsyblog/bitsyblog.py	Tue Nov 03 13:36:04 2020 -0800
+++ b/bitsyblog/bitsyblog.py	Tue Nov 03 13:36:54 2020 -0800
@@ -225,9 +225,9 @@
         # get the blog
         try:
             blog = self.get_blog(user, path, role, n_items=n_posts)
-        except BlogPathException, e:
+        except BlogPathException as e:
             return exc.HTTPNotFound(str(e))
-        except exc.HTTPException, e:
+        except exc.HTTPException as e:
             return e.wsgi_response
 
         if feed == 'rss':