tests/test-gpg.out
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 12 Feb 2010 15:46:48 +0100
changeset 10421 452b6195e94c
parent 8809 6fce36336e42
permissions -rw-r--r--
ui: look before you leap on sys.stderr.closed (and look nicer) f83291e5643e introduced a fix if sys.stdout.closed does not exist. This change uses a getattr with default instead of hasattr (which just calls getattr) and accessing the attribute. Additionally it applies the same fix for sys.stderr.closed as this is not available in the bpython shell (reported by Roger Gammans).

adding foo
% no signatures
% hg sign 0
Signing 0:e63c23eaa88a
% hg sigs
hgtest                             0:e63c23eaa88ae77967edcf4ea194d31167c478b0
% hg sigcheck 0
e63c23eaa88a is signed by:
 hgtest