From 5e49ca50f7c9f88f7f37529fe2d030b9b81df2d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Thu, 23 Mar 2006 12:51:41 +0000 Subject: [PATCH] * get upgrade to work again :) --- pisi/operations.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pisi/operations.py b/pisi/operations.py index 490b3824..549e1bac 100644 --- a/pisi/operations.py +++ b/pisi/operations.py @@ -348,7 +348,9 @@ def plan_upgrade(A): # try to construct a pisi graph of packages to # install / reinstall - G_f = pgraph.PGraph(ctx.packagedb) # construct G_f + packagedb = ctx.packagedb + + G_f = pgraph.PGraph(packagedb) # construct G_f # find the "install closure" graph of G_f by package # set A using packagedb