From 83e9549616c9aacc4a12fada20beb9ea2df69ad9 Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Mon, 23 Oct 2006 18:04:47 +0000 Subject: [PATCH] * Grrrrr!! MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit faik@iago src $ sudo pisi it amsn Paket(ler)in toplam boyu: 1.99 MB Paket amsn, pardus-1.1 deposunda bulundu amsn-0.96_rc1-6-4.pisi [önbellekte] amsn paketi, versiyon 0.96_rc1, sürüm 6, inşa 4 kuruluyor amsn paketinin dosyaları arşivden çıkartılıyor Paket yapılandırılıyor Program sonlandırıldı. comar ile bağlantı beklenmedik bir şekilde koptu Genel yardım için lütfen 'pisi help' komutunu kullanınız. Bir geri-iz (traceback) görmek için lütfen --debug seçeneğini kullanın. --- pisi/comariface.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pisi/comariface.py b/pisi/comariface.py index 036d7991..da4713d1 100644 --- a/pisi/comariface.py +++ b/pisi/comariface.py @@ -60,7 +60,9 @@ def wait_for_result(com, package_name=None): while 1: try: reply = com.read_cmd() - except: + except KeyboardInterrupt: + raise + except Exception, e: #FIXME: what exception could we catch here, replace with that. # Comar postInstall does a "service comar restart" which cuts # our precious communication link, so we waitsss if package_name == "comar":