projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b60202e
)
Use shlex.split() to split CONFIG_PROTECT and CONFIG_PROTECT_MASK.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 22 Aug 2008 22:25:59 +0000
(22:25 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 22 Aug 2008 22:25:59 +0000
(22:25 -0000)
svn path=/main/trunk/; revision=11450
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index c28ea7463a5c2dcd5accd7251a43354fbff17363..b8b37236c65a980e83b80edb23df7a16d0c2c13c 100644
(file)
--- 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