View | Details | Raw Unified | Return to bug 22427
Collapse All | Expand All

(-)python/univention/config_registry.py (-6 / +5 lines)
 Lines 353-361    Link Here 
353
		except StopIteration:
353
		except StopIteration:
354
			break
354
			break
355
355
356
	while 1:
356
	i = execute_token.finditer(template)
357
		i = execute_token.finditer(template)
357
	try:
358
		try:
358
		while True:
359
			start = i.next()
359
			start = i.next()
360
			end = i.next()
360
			end = i.next()
361
361
 Lines 372-381    Link Here 
372
			value=child_stdout.read()
372
			value=child_stdout.read()
373
			child_stdout.close()
373
			child_stdout.close()
374
			template = template[:start.start()]+value+template[end.end():]
374
			template = template[:start.start()]+value+template[end.end():]
375
	except StopIteration:
376
		pass
375
377
376
		except StopIteration:
377
			break
378
379
	return template
378
	return template
380
379
381
def runScript(script, arg, changes):
380
def runScript(script, arg, changes):

Return to bug 22427