[Kimchi-devel] [PATCH] Fix path of plugins dir

Paulo Ricardo Paz Vital pvital at linux.vnet.ibm.com
Wed Feb 12 11:54:26 UTC 2014


-- 
Reviewed-by: Paulo Vital <pvital at linux.vnet.ibm.com>


On Wed, 2014-02-12 at 17:31 +0800, Mark Wu wrote:
> Fix the wrong path of plugins dir introduced in commit 44be0d2d.
> 
> Signed-off-by: Mark Wu <wudxw at linux.vnet.ibm.com>
> ---
>  src/kimchi/config.py.in | 2 +-
>  tests/test_config.py.in | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/kimchi/config.py.in b/src/kimchi/config.py.in
> index 9f73d65..32d61c6 100644
> --- a/src/kimchi/config.py.in
> +++ b/src/kimchi/config.py.in
> @@ -85,7 +85,7 @@ class Paths(object):
>              self.log_dir = '@localstatedir@/log/kimchi'
>              self.conf_dir = '@sysconfdir@/kimchi'
>              self.src_dir = '@kimchidir@'
> -            self.plugins_dir = '@kimchidir@'
> +            self.plugins_dir = '@kimchidir@/plugins'
>          else:
>              self.state_dir = self.add_prefix('data')
>              self.log_dir = self.add_prefix('log')
> diff --git a/tests/test_config.py.in b/tests/test_config.py.in
> index 19a6cfe..3b9ebdc 100644
> --- a/tests/test_config.py.in
> +++ b/tests/test_config.py.in
> @@ -41,7 +41,7 @@ class ConfigTests(unittest.TestCase):
>          self.assertInstalledPath(paths.log_dir, '/var/log/kimchi')
>          self.assertInstalledPath(paths.conf_dir, '/etc/kimchi')
>          self.assertInstalledPath(paths.src_dir, '@kimchidir@')
> -        self.assertInstalledPath(paths.plugins_dir, '@kimchidir@')
> +        self.assertInstalledPath(paths.plugins_dir, '@kimchidir@/plugins')
>          self.assertInstalledPath(paths.ui_dir, '@pkgdatadir@/ui')
>          self.assertInstalledPath(paths.mo_dir, '@pkgdatadir@/mo')
> 




More information about the Kimchi-devel mailing list