summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-08-22 22:25:59 +0000
committerZac Medico <zmedico@gentoo.org>2008-08-22 22:25:59 +0000
commit28282ffc8f86d2aa6fb7ea7edb4c65d8590e8a0d (patch)
tree55ae2fc4b19bfbdb42ad69082b7a3e95b41c2ce1
parentb60202e06558ecdb1fa89b25b8d68a30432357fd (diff)
downloadportage-28282ffc8f86d2aa6fb7ea7edb4c65d8590e8a0d.tar.gz
portage-28282ffc8f86d2aa6fb7ea7edb4c65d8590e8a0d.tar.bz2
portage-28282ffc8f86d2aa6fb7ea7edb4c65d8590e8a0d.zip
Use shlex.split() to split CONFIG_PROTECT and CONFIG_PROTECT_MASK.
svn path=/main/trunk/; revision=11450
-rw-r--r--pym/portage/dbapi/vartree.py4
1 files 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