From 19155e266883df6ac1d4b8e3a9fddeb0df5fd8a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Mon, 14 May 2007 00:03:33 +0000 Subject: [PATCH] repodb.py:100: (list) shadows builtin --- pisi/repodb.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pisi/repodb.py b/pisi/repodb.py index 752e9604..f6676115 100644 --- a/pisi/repodb.py +++ b/pisi/repodb.py @@ -97,9 +97,9 @@ class RepoDB(object): name = str(name) def proc(txn): self.d.delete("repo-" + name, txn) - list = self.d.get("order", txn) - list.remove(name) - self.d.put("order", list, txn) + l = self.d.get("order", txn) + l.remove(name) + self.d.put("order", l, txn) ctx.packagedb.remove_repo(name, txn=txn) ctx.sourcedb.remove_repo(name, txn=txn) ctx.componentdb.remove_repo(name, txn=txn)