Fix more typos.
authorZac Medico <zmedico@gentoo.org>
Fri, 12 Jan 2007 11:49:36 +0000 (11:49 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 12 Jan 2007 11:49:36 +0000 (11:49 -0000)
svn path=/main/trunk/; revision=5608

pym/portage.py

index 9ce0347e1a3f23ec16307c25e70240e0730f1afe..55e84788786e3e6346bd46c21e36994a287869f6 100644 (file)
@@ -822,7 +822,7 @@ def ExtractKernelVersion(base_dir):
        # Check the .config for a CONFIG_LOCALVERSION and append that too, also stripping whitespace
        kernelconfig = getconfig(base_dir+"/.config")
        if kernelconfig and kernelconfig.has_key("CONFIG_LOCALVERSION"):
-               version += " ".join(kernelconfig["CONFIG_LOCALVERSION"].split())
+               version += "".join(kernelconfig["CONFIG_LOCALVERSION"].split())
 
        return (version,None)
 
@@ -5568,7 +5568,7 @@ class portdbapi(dbapi):
                        mydig   = self.findname2(mycpv)[0]
                        if not mydig:
                                return ""
-                       mydigs  = mydic.split("/")[:-1]
+                       mydigs  = mydig.split("/")[:-1]
                        mydig   = "/".join(mydigs)
                        mysplit = mycpv.split("/")
                except OSError: