/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

  • Committer: Jelmer Vernooij
  • Date: 2020-02-18 01:57:45 UTC
  • mto: This revision was merged to the branch mainline in revision 7493.
  • Revision ID: jelmer@jelmer.uk-20200218015745-q2ss9tsk74h4nh61
drop use of future.

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
 
 
22
20
import re
23
21
import sys
24
22
import time
108
106
    # /usr/lib/python2.6/email/__init__.py then there may be only one
109
107
    # parameter
110
108
    # level has different default between Python 2 and 3, but codebase
111
 
    # uses `from __future__ import absolute_import` so can just use 0.
112
 
 
113
109
    if globals is None:
114
110
        # can't determine the scope name afaics; we could peek up the stack to
115
111
        # see where this is being called from, but it should be a rare case.