/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 bzrlib/plugins/bash_completion/bashcomp.py

Merge cleanup into first-try

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
18
 
19
19
from bzrlib import (
 
20
    cmdline,
20
21
    commands,
21
22
    config,
22
23
    help_topics,
293
294
 
294
295
    def aliases(self):
295
296
        for alias, expansion in config.GlobalConfig().get_aliases().iteritems():
296
 
            for token in commands.shlex_split_unicode(expansion):
 
297
            for token in cmdline.split(expansion):
297
298
                if not token.startswith("-"):
298
299
                    self.user_aliases.setdefault(token, set()).add(alias)
299
300
                    break