/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: 2017-05-21 12:41:27 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521124127-iv8etg0vwymyai6y
s/bzr/brz/ in apport config.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
import time
22
22
 
23
23
 
24
 
if sys.version_info < (2, 5, 0):
25
 
    import sre
26
 
    re = sre
27
 
else:
28
 
    import re
 
24
import re
29
25
 
30
26
 
31
27
_parent_stack = []
122
118
        if scope_name is None:
123
119
            scope_name = globals.keys()
124
120
        else:
125
 
            # Trim out paths before bzrlib
126
 
            loc = scope_name.find('bzrlib')
 
121
            # Trim out paths before brzlib
 
122
            loc = scope_name.find('brzlib')
127
123
            if loc != -1:
128
124
                scope_name = scope_name[loc:]
129
125
            # For stdlib, trim out early paths