/breezy/unstable

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

« back to all changes in this revision

Viewing changes to breezy/generate_ids.py

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()