diff options
author | Ben Sturmfels <ben@sturm.com.au> | 2021-03-05 23:12:19 +1100 |
---|---|---|
committer | Ben Sturmfels <ben@sturm.com.au> | 2021-03-05 23:12:19 +1100 |
commit | dec47c7102cf0aa3a4debf002928db8e460c0d71 (patch) | |
tree | 47631fc15c7af172aa699506adf3d76d3a71976c /mediagoblin/notifications/task.py | |
parent | 5f3a782fef4855e10b7259624a14d8afb0f7be93 (diff) | |
download | mediagoblin-dec47c7102cf0aa3a4debf002928db8e460c0d71.tar.lz mediagoblin-dec47c7102cf0aa3a4debf002928db8e460c0d71.tar.xz mediagoblin-dec47c7102cf0aa3a4debf002928db8e460c0d71.zip |
Apply `pyupgrade --py3-plus` to remove Python 2 compatibility code.
Diffstat (limited to 'mediagoblin/notifications/task.py')
-rw-r--r-- | mediagoblin/notifications/task.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/notifications/task.py b/mediagoblin/notifications/task.py index 652b78e2..74d67569 100644 --- a/mediagoblin/notifications/task.py +++ b/mediagoblin/notifications/task.py @@ -35,7 +35,7 @@ class EmailNotificationTask(Task): ''' def run(self, notification_id, message): cn = Notification.query.filter_by(id=notification_id).first() - _log.info(u'Sending notification email about {0}'.format(cn)) + _log.info('Sending notification email about {}'.format(cn)) return send_email( message['from'], |