[PATCH 13 of 24 Openidrelay cube] [autopep8] E70 - Put semicolon-separated compound statement on separate lines

Nsukami Patrick ptrck at nskm.xyz
Wed Apr 1 09:53:56 CEST 2020


# HG changeset patch
# User Nsukami Patrick <ptrck at nskm dot xyz>
# Date 1585471342 0
#      Sun Mar 29 08:42:22 2020 +0000
# Node ID 98c7fd7ff786eb6e320876813cf35e30e42201fe
# Parent  0c62d42d67536478dad37ec4f58276bd0fe1f462
[autopep8] E70 - Put semicolon-separated compound statement on separate lines

diff --git a/cubicweb_openidrelay/views.py b/cubicweb_openidrelay/views.py
--- a/cubicweb_openidrelay/views.py
+++ b/cubicweb_openidrelay/views.py
@@ -151,7 +151,8 @@
         infoname, data = loginfo
         if not isinstance(data, basestring):
             data = data[0] if data else u''
-        w = self.w; _ = self._cw._
+        w = self.w
+        _ = self._cw._
         w(_('This is the first time you log in with this identity. '))
         w(_('Please confirm how you will be known to us.'))
         form = self._cw.vreg['forms'].select('openid-createuser', self._cw)




More information about the cubicweb-devel mailing list