Package: dput
Version: 0.9.2.32
Severity: minor
Hi!
dput could better handle this type of error, where GPG fails (in this
case, caused by entering a wrong passphrase):
=========================
$ dcut rm packagefooooo
(...)
gpg: [stdin]: clearsign failed: bad passphrase
debsign: gpg error occurred! Aborting....
Error: debsign failed.
Traceback (most recent call last):
File "/usr/bin/dcut", line 322, in <module>
dcut()
File "/usr/bin/dcut", line 318, in dcut
os.rmdir(tempdir)
OSError: [Errno 39] Directory not empty: '/tmp/dcut.VbQWKc'
=========================
Suggestion is to give a better error message and to remove the temp dir.
Thank you very much!
Best regards,
Nelson
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-naoliv1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dput depends on:
ii gnupg 1.4.9-1 GNU privacy guard - a free PGP rep
ii python 2.5.2-1 An interactive high-level object-o
dput recommends no packages.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]