Skip to content

Commit 1661c4e

Browse files
committed
Reformat previous change (3e36a3bc0335) to 80 chars
1 parent 74d39a7 commit 1661c4e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

roundup/cgi/templating.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2048,11 +2048,12 @@ def menu(self, size=None, height=None, showid=0, additional=[], value=None,
20482048
if isinstance(prop, hyperdb.Link):
20492049
cl = self._db.getclass(prop.classname)
20502050
labelprop = cl.labelprop()
2051-
fn = lambda optionid, propname=propname, labelprop=labelprop: cl.get(linkcl.get(optionid,
2052-
propname),
2053-
labelprop)
2051+
fn = lambda optionid, \
2052+
propname=propname, labelprop=labelprop: \
2053+
cl.get(linkcl.get(optionid, propname), labelprop)
20542054
else:
2055-
fn = lambda optionid, propname=propname: linkcl.get(optionid, propname)
2055+
fn = lambda optionid, propname=propname: \
2056+
linkcl.get(optionid, propname)
20562057
additional_fns.append(fn)
20572058

20582059
for optionid in options:

0 commit comments

Comments
 (0)