/breezy/trunk

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/trunk

« back to all changes in this revision

Viewing changes to breezy/generate_ids.py

  • Committer: Jelmer Vernooij
  • Date: 2017-07-23 22:06:41 UTC
  • mfrom: (6738 trunk)
  • mto: This revision was merged to the branch mainline in revision 6739.
  • Revision ID: jelmer@jelmer.uk-20170723220641-69eczax9bmv8d6kk
Merge trunk, address review comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
from breezy import (
26
26
    config,
27
 
    errors,
28
27
    osutils,
29
28
    )
30
29
""")
31
30
 
32
31
from . import (
 
32
    errors,
33
33
    lazy_regex,
34
34
    )
35
35
 
103
103
    """
104
104
    try:
105
105
        user_or_email = config.extract_email_address(username)
106
 
    except errors.NoEmailInUsername:
 
106
    except config.NoEmailInUsername:
107
107
        user_or_email = username
108
108
 
109
109
    user_or_email = user_or_email.lower()