Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
I
inary
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
1
Konular (issue)
1
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
SulinOS
inary
Commits
0712a86e
Kaydet (Commit)
0712a86e
authored
Ara 20, 2005
tarafından
Eray Özkural
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
* minor improvement in code
üst
64861701
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
api.py
pisi/api.py
+1
-3
No files found.
pisi/api.py
Dosyayı görüntüle @
0712a86e
...
...
@@ -114,14 +114,12 @@ def list_available():
return
available
def
list_upgradable
():
ignore_build
=
ctx
.
config
.
options
and
ctx
.
config
.
options
.
ignore_build_no
ignore_build
=
ctx
.
get_option
(
'ignore_build_no'
)
A
=
ctx
.
installdb
.
list_installed
()
# filter packages that are not upgradable
Ap
=
[]
for
x
in
A
:
if
not
ctx
.
installdb
.
is_installed
(
x
):
continue
(
version
,
release
,
build
)
=
ctx
.
installdb
.
get_version
(
x
)
pkg
=
packagedb
.
get_package
(
x
)
if
ignore_build
or
(
not
build
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment