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
7f29b331
Kaydet (Commit)
7f29b331
authored
Ara 15, 2005
tarafından
Eray Özkural
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix: self.package ought to be available for reinstall to work...
üst
256cf214
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
atomicoperations.py
pisi/atomicoperations.py
+2
-2
No files found.
pisi/atomicoperations.py
Dosyayı görüntüle @
7f29b331
...
...
@@ -312,12 +312,12 @@ class Remove(AtomicOperation):
def
__init__
(
self
,
package_name
,
ignore_dep
=
None
):
super
(
Remove
,
self
)
.
__init__
(
ignore_dep
)
self
.
package_name
=
package_name
self
.
package
=
packagedb
.
get_package
(
self
.
package_name
)
self
.
files
=
ctx
.
installdb
.
files
(
self
.
package_name
)
def
run
(
self
):
"""Remove a single package"""
inst_packagedb
=
packagedb
.
inst_packagedb
self
.
package
=
packagedb
.
get_package
(
self
.
package_name
)
self
.
files
=
ctx
.
installdb
.
files
(
self
.
package_name
)
ctx
.
ui
.
status
(
_
(
'Removing package
%
s'
)
%
self
.
package_name
)
if
not
ctx
.
installdb
.
is_installed
(
self
.
package_name
):
...
...
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