/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to profile_imports.py

Support user.signingkey configuration variable in .git/config.

Merged from https://code.launchpad.net/~jelmer/brz/local-git-key/+merge/381000

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
"""A custom importer and regex compiler which logs time spent."""
19
19
 
 
20
from __future__ import absolute_import
 
21
 
20
22
import re
21
23
import sys
22
24
import time
106
108
    # /usr/lib/python2.6/email/__init__.py then there may be only one
107
109
    # parameter
108
110
    # level has different default between Python 2 and 3, but codebase
 
111
    # uses `from __future__ import absolute_import` so can just use 0.
 
112
 
109
113
    if globals is None:
110
114
        # can't determine the scope name afaics; we could peek up the stack to
111
115
        # see where this is being called from, but it should be a rare case.