From 21cd2a3043b9e9e706f4ad5262036a70b2a7662e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Mon, 25 Jul 2005 11:33:33 +0000 Subject: [PATCH] --- pisi/operations.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pisi/operations.py b/pisi/operations.py index a5fff90d..9a528832 100644 --- a/pisi/operations.py +++ b/pisi/operations.py @@ -40,10 +40,12 @@ def install(pkg): else: from os.path import join - # TODO: TABII BURADA REPODB KULLANILACAK BU COK INEFFICIENT + # TODO: tabii burada repodb falan kullanilmali cok inefficient (repo, index) = util.repo_index() # search pkg in index for it's presence in repository + # TODO: normalde hicbir zaman boyle linear search yapilmamali + # buyuk olabilecek listeler uzerinden for package in index.packages: if package.name == pkg: version = package.history[0].version