From 845a7796bedcaa550d7f122fcbdf6d28cec58711 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 18 Apr 2019 16:38:54 +0200 Subject: [PATCH] Remove old piece of stale code (c.f. previous lines) --- src/yunohost/regenconf.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/yunohost/regenconf.py b/src/yunohost/regenconf.py index f4163d27c..0b574e054 100644 --- a/src/yunohost/regenconf.py +++ b/src/yunohost/regenconf.py @@ -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