changeset 121:188e501c00ff

py3
author Jeff Hammel <k0scist@gmail.com>
date Tue, 03 Nov 2020 14:47:56 -0800
parents 7306d47d2667
children c4a8285f9875
files bitsyblog/user.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bitsyblog/user.py	Tue Nov 03 14:46:51 2020 -0800
+++ b/bitsyblog/user.py	Tue Nov 03 14:47:56 2020 -0800
@@ -200,7 +200,7 @@
                 try:
                     setting.set(kw[setting.name])
                     newsettings[setting.name] = setting.value
-                except settings.InvalidSettingError, e:
+                except settings.InvalidSettingError as e:
                     errors[setting.name] = str(e)
 
         if errors: