[PATCH 3 of 6 Activitystream cube] [autopep8] E22 - Fix extraneous whitespace around keywords

Nsukami Patrick ndkpatt at gmail.com
Wed Jun 12 13:07:15 CEST 2019


# HG changeset patch
# User Nsukami Patrick <ndkpatt at gmail dot com>
# Date 1560337124 0
#      Wed Jun 12 10:58:44 2019 +0000
# Node ID 62bf76433671a41ad482e04e8d8d83360ced662d
# Parent  96bde129c493f22ae474fcfeb44d5835f1643408
[autopep8] E22 - Fix extraneous whitespace around keywords

diff --git a/cubicweb_activitystream/entities.py b/cubicweb_activitystream/entities.py
--- a/cubicweb_activitystream/entities.py
+++ b/cubicweb_activitystream/entities.py
@@ -44,7 +44,7 @@
             rqls += part.rql_parts
         assert rqls, 'no activity stream for %s' % self.entity
         if len(rqls) > 1:
-            rql =  ' UNION '.join('(%s)' % rql for rql in rqls)
+            rql = ' UNION '.join('(%s)' % rql for rql in rqls)
         else:
             rql = rqls[0]
         return 'Any X,XD,XA,XC ORDERBY XD DESC WITH X,XD,XA,XC BEING (%s)' % rql



More information about the cubicweb-devel mailing list