changeset 7029:0409659241c5

flake8: E251 unexpected spaces around keyword / parameter equals
author John Rouillard <rouilj@ieee.org>
date Sun, 09 Oct 2022 17:55:25 -0400
parents 64d4d435ab3d
children bb3845cf6b8e
files roundup/cgi/templating.py
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Sun Oct 09 17:53:36 2022 -0400
+++ b/roundup/cgi/templating.py	Sun Oct 09 17:55:25 2022 -0400
@@ -189,7 +189,7 @@
                 return '<a href="%(href)s" rel="%(rel)s">%(content)s</a>' % values
 
         def _options(config):
-            options = {'renderer': LinkRendererWithRel(escape = True)}
+            options = {'renderer': LinkRendererWithRel(escape=True)}
             if config['MARKDOWN_BREAK_ON_NEWLINE']:
                 options['hard_wrap'] = True
             return options
@@ -2522,8 +2522,8 @@
             value = None
 
         linkcl = self._db.getclass(self._prop.classname)
-        l = ['<select %s>'%self.cgi_escape_attrs(name = self._formname,
-                                            **html_kwargs)]
+        l = ['<select %s>'%self.cgi_escape_attrs(name=self._formname,
+                                                 **html_kwargs)]
         k = linkcl.labelprop(1)
         s = ''
         if value is None:
@@ -2836,9 +2836,9 @@
                 # The "no selection" option.
                 height += 1
             height = min(height, 7)
-        l = ['<select multiple %s>'%self.cgi_escape_attrs(name = self._formname,
-                                                     size = height,
-                                                     **html_kwargs)]
+        l = ['<select multiple %s>'%self.cgi_escape_attrs(name=self._formname,
+                                                          size=height,
+                                                          **html_kwargs)]
         k = linkcl.labelprop(1)
 
         if value:  # FIXME '- no selection -' mark for translation

Roundup Issue Tracker: http://roundup-tracker.org/