diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-10-11 19:43:30 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-10-11 19:43:30 +0000 |
commit | 1a53b8d9a160ba92185d94ae56487fc888887b7c (patch) | |
tree | 03a51591f97cb6d7b14c09b6fddd16cbbf238a1c | |
parent | 336bfb157d65dbd148dc161521c3d99e190f4205 (diff) | |
download | portage-1a53b8d9a160ba92185d94ae56487fc888887b7c.tar.gz portage-1a53b8d9a160ba92185d94ae56487fc888887b7c.tar.bz2 portage-1a53b8d9a160ba92185d94ae56487fc888887b7c.zip |
Bug #288533 - Make WorldSet automatically include @system.
svn path=/main/branches/2.1.7/; revision=14569
-rw-r--r-- | pym/portage/_sets/files.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/_sets/files.py b/pym/portage/_sets/files.py index 77793baa0..396c2c17d 100644 --- a/pym/portage/_sets/files.py +++ b/pym/portage/_sets/files.py @@ -44,6 +44,7 @@ class WorldSet(EditablePackageSet): def load(self): atoms = [] + nonatoms = ["@system"] atoms_changed = False # load atoms and non-atoms from different files so the worldfile is # backwards-compatible with older versions and other PMs, even though @@ -70,7 +71,7 @@ class WorldSet(EditablePackageSet): atoms.extend(self._atoms) if atoms_changed: - self._setAtoms(atoms) + self._setAtoms(atoms+nonatoms) def _ensure_dirs(self): ensure_dirs(os.path.dirname(self._filename), gid=portage_gid, mode=0o2750, mask=0o2) |