x değişkeni ana döngüde kullanılıyor. Bunları "i" yapalım da karışmasın.
pisi up --security bu sefer gerçekten çalışıyor.
This commit is contained in:
+2
-2
@@ -413,8 +413,8 @@ def upgrade_pkg_names(A = []):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
if security: # below is a readable functional code, don't overflow lines!
|
if security: # below is a readable functional code, don't overflow lines!
|
||||||
updates = [x for x in pkg.history if Version(x.release) > Version(release)]
|
updates = [i for i in pkg.history if Version(i.release) > Version(release)]
|
||||||
if not pisi.util.any(lambda x:x.type == 'security', updates):
|
if not pisi.util.any(lambda i:i.type == 'security', updates):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if ignore_build or (not build) or (not pkg.build):
|
if ignore_build or (not build) or (not pkg.build):
|
||||||
|
|||||||
Reference in New Issue
Block a user