Re: [libvirt-ci PATCH 07/13] lcitool: Drop the get_flavor() method

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2020-04-22 at 15:28 +0200, Erik Skultety wrote:
> @@ -617,7 +591,7 @@ class Application:
>      def _action_install(self, args):
>          base = Util.get_base()
>  
> -        flavor = self._config.get_flavor()
> +        flavor = self._config.dict["install"]["flavor"]

You can remove this assignment and just use the value directly
below, like you've done in _execute_playbook().

There are also two uses of get_flavor() remaining after this
patch:

  get_gitlab_runner_token_file()
  get_gitlab_url_file()

-- 
Andrea Bolognani / Red Hat / Virtualization




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux