From 28282ffc8f86d2aa6fb7ea7edb4c65d8590e8a0d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 22 Aug 2008 22:25:59 +0000 Subject: [PATCH] Use shlex.split() to split CONFIG_PROTECT and CONFIG_PROTECT_MASK. svn path=/main/trunk/; revision=11450 --- pym/portage/dbapi/vartree.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index c28ea7463..b8b37236c 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -1638,8 +1638,8 @@ class dblink(object): self.myroot=myroot protect_obj = ConfigProtect(myroot, - mysettings.get("CONFIG_PROTECT","").split(), - mysettings.get("CONFIG_PROTECT_MASK","").split()) + shlex.split(mysettings.get("CONFIG_PROTECT", "")), + shlex.split(mysettings.get("CONFIG_PROTECT_MASK", ""))) self.updateprotect = protect_obj.updateprotect self.isprotected = protect_obj.isprotected self._installed_instance = None -- 2.26.2