~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lockdir.py

  • Committer: Patch Queue Manager
  • Date: 2012-08-23 14:24:38 UTC
  • mfrom: (6499.3.13 832042-shared-stores)
  • Revision ID: pqm@pqm.ubuntu.com-20120823142438-804xd3yql622ahhp
(vila) Share and cache local config files (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()