~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lockdir.py

(vila) Fix bzrlib.tests.test_gpg.TestVerify.test_verify_revoked_signature
 with recent versions of gpg. (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
858
858
    as it gives some clue who the user is.
859
859
    """
860
860
    try:
861
 
        return config.GlobalConfig().username()
 
861
        return config.GlobalStack().get('email')
862
862
    except errors.NoWhoami:
863
863
        return osutils.getuser_unicode()