comparison 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
comparison
equal deleted inserted replaced
5192:302e3a1a7190 5193:cfd6d1f2caa1
366 """ 366 """
367 l = [] 367 l = []
368 for entry in ids: 368 for entry in ids:
369 if num_re.match(entry): 369 if num_re.match(entry):
370 try: 370 try:
371 label = linkcl.get(entry, key) 371 label = linkcl.get(entry, key)
372 except IndexError: 372 except IndexError:
373 # fall back to id if illegal (avoid template crash) 373 # fall back to id if illegal (avoid template crash)
374 label = entry 374 label = entry
375 # fall back to designator if label is None 375 # fall back to designator if label is None
376 if label is None: label = '%s%s'%(linkcl.classname, entry) 376 if label is None: label = '%s%s'%(linkcl.classname, entry)
377 l.append(label) 377 l.append(label)
378 else: 378 else:

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