From d3ca03afca2223339ce844215050a81cc717205c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20A=C5=9F=C4=B1c=C4=B1?= Date: Tue, 14 Dec 2010 09:04:09 +0000 Subject: [PATCH] emerge: Fix package installation This is broken since the API change in Builder class. --- pisi/operations/emerge.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pisi/operations/emerge.py b/pisi/operations/emerge.py index 71f5bfc1..3701dd47 100644 --- a/pisi/operations/emerge.py +++ b/pisi/operations/emerge.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (C) 2005 - 2007, TUBITAK/UEKAE +# Copyright (C) 2005-2010, TUBITAK/UEKAE # # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free @@ -69,7 +69,7 @@ installed in the respective order to satisfy dependencies: #ctx.ui.notify(ui.packagestogo, order = order_build) for x in order_build: - package_names = atomicoperations.build(x)[0] + package_names = atomicoperations.build(x).new_packages pisi.operations.install.install_pkg_files(package_names, reinstall=True) # handle inter-package deps here # reset counts between builds ctx.ui.errors = ctx.ui.warnings = 0