# HG changeset patch # User Julien Cristau # Date 1396872935 -7200 # Node ID c60c8dec0e0ece5d639f8e980dcb431b1d3cea9f # Parent c51a05b5dcb86b74b960d3a8be9aa6f9ab4d194d [hooks/notification] Fix indentation Follow-up for changeset 1b8552265f3b "[hooks/notification] use a cnx not a session" diff -r c51a05b5dcb8 -r c60c8dec0e0e hooks/notification.py --- a/hooks/notification.py Thu Apr 03 18:16:10 2014 +0200 +++ b/hooks/notification.py Mon Apr 07 14:15:35 2014 +0200 @@ -156,8 +156,8 @@ cnx = self.cnx for eid in cnx.transaction_data['changes']: view = cnx.vreg['views'].select('notif_entity_updated', cnx, - rset=cnx.eid_rset(eid), - row=0) + rset=cnx.eid_rset(eid), + row=0) notify_on_commit(self.cnx, view, viewargs={'changes': cnx.transaction_data['changes'][eid]})