~johnsca/charms/trusty/cf-cloud-controller/refactor

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/fetch/bzrurl.py

  • Committer: Benjamin Saller
  • Date: 2014-03-28 22:39:20 UTC
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: benjamin.saller@canonical.com-20140328223920-tt7m5t44kwdjry57
wip

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
    UnhandledSource
5
5
)
6
6
from charmhelpers.core.host import mkdir
7
 
 
8
 
try:
9
 
    from bzrlib.branch import Branch
10
 
except ImportError:
11
 
    from charmhelpers.fetch import apt_install
12
 
    apt_install("python-bzrlib")
13
 
    from bzrlib.branch import Branch
 
7
from bzrlib.branch import Branch
14
8
 
15
9
 
16
10
class BzrUrlFetchHandler(BaseFetchHandler):