From 5627840045132337a9e1fc80f7abc7ed27ec47a2 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 5 Nov 2012 00:21:09 +0100 Subject: [PATCH] cli: Remove obsolete repo_manage_switches flag. --- python/pakfire/cli.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/python/pakfire/cli.py b/python/pakfire/cli.py index 9435ff998..520489499 100644 --- a/python/pakfire/cli.py +++ b/python/pakfire/cli.py @@ -851,7 +851,7 @@ class CliClient(Cli): description = _("Pakfire client command line interface."), ) - self.parse_common_arguments(repo_manage_switches=True, offline_switch=True) + self.parse_common_arguments(offline_switch=True) # Add sub-commands. self.sub_commands = self.parser.add_subparsers() @@ -1182,7 +1182,7 @@ class CliDaemon(Cli): description = _("Pakfire daemon command line interface."), ) - self.parse_common_arguments(repo_manage_switches=True, offline_switch=True) + self.parse_common_arguments(offline_switch=True) # Finally parse all arguments from the command line and save them. self.args = self.parser.parse_args() @@ -1210,8 +1210,7 @@ class CliKey(Cli): description = _("Pakfire key command line interface."), ) - self.parse_common_arguments(repo_manage_switches=False, - offline_switch=True) + self.parse_common_arguments(offline_switch=True) # Add sub-commands. self.sub_commands = self.parser.add_subparsers() -- 2.39.5