Fix string join methods Bug #175050
authorfuzzyray <fuzzyray@gentoo.org>
Thu, 19 Apr 2007 02:31:01 +0000 (02:31 -0000)
committerfuzzyray <fuzzyray@gentoo.org>
Thu, 19 Apr 2007 02:31:01 +0000 (02:31 -0000)
svn path=/; revision=388

trunk/src/equery/equery

index 50f2caef72da4035b528fd7f78c945cc01de01c0..379e536240b588a68aca66a159cabdedd0e2022c 100755 (executable)
@@ -1182,7 +1182,7 @@ class CmdListDepends(Command):
                                                                if not Config["piping"] and Config["verbosityLevel"] >= 3:
                                                                        print " " * (spacing * 2) + pp.cpv(pkg.get_cpv()),
                                                                        print "(" + \
-                                                                       pp.useflag(dependency[1].join(" & ") + "? ") + \
+                                                                       pp.useflag("&".join(dependency[1]) + "? ") + \
                                                                        pp.pkgquery(dependency[0]+dependency[2]) + ")"
                                                                else:
                                                                        print " " * (spacing * 2) + pkg.get_cpv()
@@ -1196,7 +1196,7 @@ class CmdListDepends(Command):
                                                elif not Config["piping"] and Config["verbosityLevel"] >= 3:
                                                        if dependency[1]:
                                                                print " "*len(pkg.get_cpv()) + " " * (spacing * 2) + \
-                                                                     " (" + pp.useflag(dependency[1].join("&")+ "? ") + \
+                                                                     " (" + pp.useflag("&".join(dependency[1]) + "? ") + \
                                                                      pp.pkgquery(dependency[0]+dependency[2]) + ")"
                                                        else:
                                                                print " "*len(pkg.get_cpv()) + " " * (spacing * 2) + " (" + \