Remove old piece of stale code (c.f. previous lines)

This commit is contained in:
Alexandre Aubin 2019-04-18 16:38:54 +02:00
parent 8e7684c7d5
commit 845a7796be

View file

@ -144,13 +144,6 @@ def regen_conf(operation_logger, names=[], with_diff=False, force=False, dry_run
raise YunohostError('regenconf_failed',
categories=', '.join(ret_failed))
# Update the categorys name
names = pre_result['succeed'].keys()
if not names:
raise YunohostError('regenconf_failed',
categories=', '.join(pre_result['failed']))
# Set the processing method
_regen = _process_regen_conf if not dry_run else lambda *a, **k: True