Fix more typos from r6988.
authorZac Medico <zmedico@gentoo.org>
Sun, 24 Jun 2007 18:09:01 +0000 (18:09 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 24 Jun 2007 18:09:01 +0000 (18:09 -0000)
svn path=/main/trunk/; revision=6996

pym/portage/dbapi/vartree.py

index e129b9fead68fa1d351586eb8f696a5b0e86114f..eac509b968d033232ead58df01bc9cf947e94457 100644 (file)
@@ -1277,14 +1277,14 @@ class dblink(object):
                                                os.unlink(obj)
                                        except (OSError, IOError), e:
                                                pass
-                                       show_unmerge("<<<", "fif", file_type, obj)
+                                       show_unmerge("<<<", "", file_type, obj)
                                elif pkgfiles[objkey][0] == "fif":
                                        if not stat.S_ISFIFO(lstatobj[stat.ST_MODE]):
                                                show_unmerge("---", "!fif", file_type, obj)
                                                continue
-                                       show_unmerge("---", "fif", file_type, obj)
+                                       show_unmerge("---", "", file_type, obj)
                                elif pkgfiles[objkey][0] == "dev":
-                                       show_unmerge("---", "dev", file_type, obj)
+                                       show_unmerge("---", "", file_type, obj)
 
                        mydirs.sort()
                        mydirs.reverse()
@@ -1292,9 +1292,9 @@ class dblink(object):
                        for obj in mydirs:
                                try:
                                        os.rmdir(obj)
-                                       show_unmerge("<<<", "dir", file_type, obj)
+                                       show_unmerge("<<<", "", "dir", obj)
                                except EnvironmentError:
-                                       show_unmerge("---", "!empty", file_type, obj)
+                                       show_unmerge("---", "!empty", "dir", obj)
 
                #remove self from vartree database so that our own virtual gets zapped if we're the last node
                self.vartree.zap(self.mycpv)