[PATCH 05 of 18 Nosylist cube] [autopep8] E127 - Fix visual indentation

Nsukami Patrick ndkpatt at gmail.com
Thu Jun 13 12:02:03 CEST 2019


# HG changeset patch
# User Nsukami Patrick <ndkpatt at gmail dot com>
# Date 1560419485 0
#      Thu Jun 13 09:51:25 2019 +0000
# Node ID c9d4ec503438a92bc3f97050493cd50f3edbf18c
# Parent  8e503925162fd05d1bbdec9fd5395c74453e581b
[autopep8] E127 - Fix visual indentation

diff --git a/cubicweb_nosylist/views.py b/cubicweb_nosylist/views.py
--- a/cubicweb_nosylist/views.py
+++ b/cubicweb_nosylist/views.py
@@ -76,7 +76,7 @@
                 btn_style = 'notificationComponent'
             url = '#'
         w(u'<a href="%s" class="toolbarButton %s btn btn-default %s" '
-           'title="%s" data-eid="%s">%s</a>' % (
+          'title="%s" data-eid="%s">%s</a>' % (
                xml_escape(url), xml_escape(icon), xml_escape(btn_style),
             xml_escape(title), entity.eid, xml_escape(text),
            ))
@@ -157,7 +157,7 @@
             'login': user.login,
             'etype': entity.dc_type()}
         self.w(u'[<a title="%s" href="#" class="notificationView" '
-                'data-rtype="interested_in" data-seid="%s" data-oeid="%s">-</a>]'
+               'data-rtype="interested_in" data-seid="%s" data-oeid="%s">-</a>]'
                % (msg, user.eid, entity.eid))
 
 
@@ -221,7 +221,7 @@
             'login': user.login,
             'etype': related_entity.dc_type()}
         self.w(u'[<a title="%s" class="notificationView" data-rtype="%s"'
-                'data-seid="%s" data-oeid="%s">-</a>] '
+               'data-seid="%s" data-oeid="%s">-</a>] '
                % (msg, self.rtype, user.eid, related_entity.eid))
         user.view('outofcontext', w=self.w)
 



More information about the cubicweb-devel mailing list