From: Zac Medico Date: Fri, 22 Aug 2008 22:25:59 +0000 (-0000) Subject: Use shlex.split() to split CONFIG_PROTECT and CONFIG_PROTECT_MASK. X-Git-Tag: v2.2_rc9~64 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=28282ffc8f86d2aa6fb7ea7edb4c65d8590e8a0d;p=portage.git Use shlex.split() to split CONFIG_PROTECT and CONFIG_PROTECT_MASK. svn path=/main/trunk/; revision=11450 --- 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