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)
0
Konular (issue)
0
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
9c946358
Kaydet (Commit)
9c946358
authored
Haz 07, 2006
tarafından
Eray Özkural
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
* fix: pass arguments correctly in pisicli
* fix (attempt): try to finalize api in case of error
üst
b9848663
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
pisicli.py
pisi/cli/pisicli.py
+1
-1
pisish
scripts/pisish
+1
-1
No files found.
pisi/cli/pisicli.py
Dosyayı görüntüle @
9c946358
...
...
@@ -100,7 +100,7 @@ class PisiCLI(object):
except
ParserError
:
raise
Error
(
_
(
'Command line parsing error'
))
self
.
command
=
Command
.
get_command
(
cmd_name
,
args
)
self
.
command
=
Command
.
get_command
(
cmd_name
,
args
=
args
)
if
not
self
.
command
:
raise
Error
(
_
(
"Unrecognized command:
%
s"
)
%
cmd_name
)
...
...
scripts/pisish
Dosyayı görüntüle @
9c946358
...
...
@@ -58,9 +58,9 @@ Copyright 2006 (c) Pardus
signal
.
signal
(
signal
.
SIGINT
,
signal
.
SIG_IGN
)
# disable further interrupts
ui
=
pisi
.
cli
.
CLI
()
# make a temporary UI
show_traceback
=
False
pisi
.
api
.
finalize
()
if
isinstance
(
value
,
exceptions
.
KeyboardInterrupt
):
ui
.
error
(
_
(
"Keyboard Interrupt: Exiting..."
))
pisi
.
api
.
finalize
()
sys
.
exit
(
1
)
elif
isinstance
(
value
,
pisi
.
Error
):
ui
.
error
(
_
(
"Program Terminated."
))
...
...
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