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
35d7bc7b
Kaydet (Commit)
35d7bc7b
authored
Haz 05, 2006
tarafından
Faik Uygur
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
infinity gravitation. (fixes #2872)
üst
6a5ffab7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
operations.py
pisi/operations.py
+4
-3
No files found.
pisi/operations.py
Dosyayı görüntüle @
35d7bc7b
...
...
@@ -266,7 +266,7 @@ def upgrade_base(A = set()):
if
extra_upgrades
:
ctx
.
ui
.
warning
(
_
(
'Safety switch: Following packages in system.base will be upgraded: '
)
+
util
.
strlist
(
extra_upgrades
))
upgrade_pkg_names
(
extra_upgrades
)
upgrade_pkg_names
(
extra_upgrades
,
bypass_safety
=
True
)
# return packages that must be added to any installation
return
set
(
install_order
+
extra_upgrades
)
else
:
...
...
@@ -363,7 +363,7 @@ def plan_install_pkg_names(A):
def
upgrade
(
A
):
upgrade_pkg_names
(
A
)
def
upgrade_pkg_names
(
A
=
[]):
def
upgrade_pkg_names
(
A
=
[]
,
bypass_safety
=
False
):
"""Re-installs packages from the repository, trying to perform
a minimum or maximum number of upgrades according to options."""
...
...
@@ -408,7 +408,8 @@ def upgrade_pkg_names(A = []):
ctx
.
ui
.
info
(
_
(
'No packages to upgrade.'
))
return
True
A
|=
upgrade_base
(
A
)
if
not
bypass_safety
:
A
|=
upgrade_base
(
A
)
ctx
.
ui
.
debug
(
'A =
%
s'
%
str
(
A
))
...
...
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