mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Remove old piece of stale code (c.f. previous lines)
This commit is contained in:
parent
8e7684c7d5
commit
845a7796be
1 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue