Eray, please re-check add_conflict() for correctness.

graph.add_biedge gets 2-3 arguments but 5 is passed.
This commit is contained in:
Barış Metin
2005-08-05 02:41:58 +00:00
parent 90b0d359ff
commit d6ddf5407c
+1 -1
View File
@@ -68,7 +68,7 @@ class PGraph(digraph):
pkg1data = (pkg1.version, pkg1.release)
pkg2data = None
if not pkg in self.vertices():
pkg2 = packagedb.get_package(depinfo.package)
pkg2 = packagedb.get_package(conflinfo.package)
pkg2data = (pkg2.version, pkg2.release)
self.add_biedge(str(pkg), str(conflinfo.package), ('c', conflinfo)