summaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
authorOtavio Pontes <otaviobp@gmail.com>2010-08-05 23:57:35 +0000
committerOtavio Pontes <otaviobp@gmail.com>2010-08-05 23:57:35 +0000
commit4ccf890cdbe88cdd6a36b2450d83ae5f119a267e (patch)
treec49258cbb8bd2ec5065dd5a1fff7e82fd58b67c6 /pym
parentAdding test to emerge with --exclude option (diff)
downloadportage-multirepo-4ccf890cdbe88cdd6a36b2450d83ae5f119a267e.tar.gz
portage-multirepo-4ccf890cdbe88cdd6a36b2450d83ae5f119a267e.tar.bz2
portage-multirepo-4ccf890cdbe88cdd6a36b2450d83ae5f119a267e.zip
Fixes portage bug. It was not possible to put 2 properties from the same cp in packages.properties file
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/package/ebuild/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py
index a40023f4..72f0dd05 100644
--- a/pym/portage/package/ebuild/config.py
+++ b/pym/portage/package/ebuild/config.py
@@ -864,8 +864,8 @@ class config(object):
cp_dict = self._ppropertiesdict.get(cp)
if not cp_dict:
cp_dict = {}
- self._ppropertiesdict[cp] = cp_dict
cp_dict[k] = v
+ self._ppropertiesdict[cp] = cp_dict
#getting categories from an external file now
categories = [grabfile(os.path.join(x, "categories")) for x in locations]