# HG changeset patch # User Jeff Hammel # Date 1604439414 28800 # Node ID 13f6a41882bef8f2101f7318ba361e02d08040af # Parent 1fc637c3acc04b1097dd0787baaca6e8965fb451 py3 diff -r 1fc637c3acc0 -r 13f6a41882be bitsyblog/bitsyblog.py --- 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':