[PATCH 15 of 24 Openidrelay cube] [autopep8] W504 - Fix line break after binary operator

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


# HG changeset patch
# User Nsukami Patrick <ptrck at nskm dot xyz>
# Date 1585471345 0
#      Sun Mar 29 08:42:25 2020 +0000
# Node ID 7dd31db8eddcfd56cb2f0fd0f2ba3bdacb594a46
# Parent  4887a61f4c8839512467dcdc0800e46a5971e5de
[autopep8] W504 - Fix line break after binary operator

diff --git a/cubicweb_openidrelay/views.py b/cubicweb_openidrelay/views.py
--- a/cubicweb_openidrelay/views.py
+++ b/cubicweb_openidrelay/views.py
@@ -256,9 +256,9 @@
 
 class OpenIDLoginLink(basecomponents.HeaderComponent):
     __regid__ = 'openidlink'
-    __select__ = (basecomponents.HeaderComponent.__select__ &
-                  configuration_values('auth-mode', 'cookie') &
-                  anonymous_user())
+    __select__ = (basecomponents.HeaderComponent.__select__
+                  & configuration_values('auth-mode', 'cookie')
+                  & anonymous_user())
     context = _('header-right')
     onclick = "javascript: cw.htmlhelpers.popupLoginBox('%s', '%s');"
 




More information about the cubicweb-devel mailing list