Skip to content

Commit ef1cb09

Browse files
committed
flake8: E251 unexpected spaces around keyword / parameter equals
1 parent 1110462 commit ef1cb09

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

roundup/cgi/templating.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def link(self, link, title, content):
189189
return '<a href="%(href)s" rel="%(rel)s">%(content)s</a>' % values
190190

191191
def _options(config):
192-
options = {'renderer': LinkRendererWithRel(escape = True)}
192+
options = {'renderer': LinkRendererWithRel(escape=True)}
193193
if config['MARKDOWN_BREAK_ON_NEWLINE']:
194194
options['hard_wrap'] = True
195195
return options
@@ -2522,8 +2522,8 @@ def menu(self, size=None, height=None, showid=0, additional=[], value=None,
25222522
value = None
25232523

25242524
linkcl = self._db.getclass(self._prop.classname)
2525-
l = ['<select %s>'%self.cgi_escape_attrs(name = self._formname,
2526-
**html_kwargs)]
2525+
l = ['<select %s>'%self.cgi_escape_attrs(name=self._formname,
2526+
**html_kwargs)]
25272527
k = linkcl.labelprop(1)
25282528
s = ''
25292529
if value is None:
@@ -2836,9 +2836,9 @@ def menu(self, size=None, height=None, showid=0, additional=[],
28362836
# The "no selection" option.
28372837
height += 1
28382838
height = min(height, 7)
2839-
l = ['<select multiple %s>'%self.cgi_escape_attrs(name = self._formname,
2840-
size = height,
2841-
**html_kwargs)]
2839+
l = ['<select multiple %s>'%self.cgi_escape_attrs(name=self._formname,
2840+
size=height,
2841+
**html_kwargs)]
28422842
k = linkcl.labelprop(1)
28432843

28442844
if value: # FIXME '- no selection -' mark for translation

0 commit comments

Comments
 (0)