def clone_helpers(work_dir, branch):
dest = os.path.join(work_dir, 'charm-helpers')
logging.info('Checking out %s to %s.' % (branch, dest))
cmd = ['bzr', 'checkout', '--lightweight', branch, dest]
subprocess.check_call(cmd)
return dest
charm_helpers_sync.py 文件源码
python
阅读 32
收藏 0
点赞 0
评论 0
评论列表
文章目录