Fix typo, split SPACE_SEPARATED variables on whitespace. (trunk r6738)
authorZac Medico <zmedico@gentoo.org>
Fri, 8 Jun 2007 19:37:15 +0000 (19:37 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 8 Jun 2007 19:37:15 +0000 (19:37 -0000)
svn path=/main/branches/2.1.2/; revision=6759

pym/portage.py

index bbd5da93de5403c8418563bf754cc4f8451ffe0c..d52a6da57a0f408a3daff76ccdc0cc9baf824419 100644 (file)
@@ -595,7 +595,7 @@ def env_update(makelinks=1, target_root=None, prev_mtimes=None, contents=None):
                mylist = []
                for myconfig in config_list:
                        if var in myconfig:
-                               for item in myconfig[var].split(""):
+                               for item in myconfig[var].split():
                                        if item and not item in mylist:
                                                mylist.append(item)
                                del myconfig[var] # prepare for env.update(myconfig)