Mercurial > p > roundup > code
diff roundup/cgi/templating.py @ 5193:cfd6d1f2caa1
Fix incorrect indentation using tabs
It seems like tabs have been mistakenly used instead of spaces in commit
b69c5e7632
| author | John Kristensen <john@jerrykan.com> |
|---|---|
| date | Fri, 10 Mar 2017 00:22:55 +1100 |
| parents | 302e3a1a7190 |
| children | a9ace22e0a2f |
line wrap: on
line diff
--- a/roundup/cgi/templating.py Wed Mar 08 22:04:15 2017 -0500 +++ b/roundup/cgi/templating.py Fri Mar 10 00:22:55 2017 +1100 @@ -368,9 +368,9 @@ for entry in ids: if num_re.match(entry): try: - label = linkcl.get(entry, key) - except IndexError: - # fall back to id if illegal (avoid template crash) + label = linkcl.get(entry, key) + except IndexError: + # fall back to id if illegal (avoid template crash) label = entry # fall back to designator if label is None if label is None: label = '%s%s'%(linkcl.classname, entry)
