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

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 18:10:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521181028-zn04pdfw0od9hfj3
Rename brzlib => breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
from __future__ import absolute_import
20
20
 
21
 
from brzlib import (
 
21
from breezy import (
22
22
    cmdline,
23
23
    commands,
24
24
    config,
26
26
    option,
27
27
    plugin,
28
28
)
29
 
import brzlib
 
29
import breezy
30
30
import re
31
31
import sys
32
32
 
184
184
""")
185
185
 
186
186
    def brz_version(self):
187
 
        brz_version = brzlib.version_string
 
187
        brz_version = breezy.version_string
188
188
        if not self.data.plugins:
189
189
            brz_version += "."
190
190
        else:
260
260
    def __init__(self, name, version=None):
261
261
        if version is None:
262
262
            try:
263
 
                version = brzlib.plugin.plugins()[name].__version__
 
263
                version = breezy.plugin.plugins()[name].__version__
264
264
            except:
265
265
                version = 'unknown'
266
266
        self.name = name