From aac45fe499632ad086fd046707c5c92abc8cd93a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Mon, 24 Oct 2005 12:36:07 +0000 Subject: [PATCH] * shorten a bit --- pisi/operations.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pisi/operations.py b/pisi/operations.py index 3a22b40b..7130d6f7 100644 --- a/pisi/operations.py +++ b/pisi/operations.py @@ -110,11 +110,8 @@ in the respective order to satisfy extra dependencies: raise Error(_('External dependencies not satisfied')) install_pkg_names(extra_packages) class PackageDB: - def __init__(self): - self.d = d_t - def get_package(self, key): - return self.d[str(key)] + return d_t[str(key)] packagedb = PackageDB()