repodb.py💯 (list) shadows builtin
This commit is contained in:
+3
-3
@@ -97,9 +97,9 @@ class RepoDB(object):
|
|||||||
name = str(name)
|
name = str(name)
|
||||||
def proc(txn):
|
def proc(txn):
|
||||||
self.d.delete("repo-" + name, txn)
|
self.d.delete("repo-" + name, txn)
|
||||||
list = self.d.get("order", txn)
|
l = self.d.get("order", txn)
|
||||||
list.remove(name)
|
l.remove(name)
|
||||||
self.d.put("order", list, txn)
|
self.d.put("order", l, txn)
|
||||||
ctx.packagedb.remove_repo(name, txn=txn)
|
ctx.packagedb.remove_repo(name, txn=txn)
|
||||||
ctx.sourcedb.remove_repo(name, txn=txn)
|
ctx.sourcedb.remove_repo(name, txn=txn)
|
||||||
ctx.componentdb.remove_repo(name, txn=txn)
|
ctx.componentdb.remove_repo(name, txn=txn)
|
||||||
|
|||||||
Reference in New Issue
Block a user