/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/plugin.py

  • Committer: Martin
  • Date: 2019-06-16 01:03:51 UTC
  • mto: This revision was merged to the branch mainline in revision 7340.
  • Revision ID: gzlist@googlemail.com-20190616010351-uz89ydnwdoal4ve4
Split non-ini config methods to bedding

Functions that determine filesystem paths to use for config and default
username are now outside of the main (large) config module.

Also move cache_dir function from osutils and normalise logic.

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
from importlib import util as importlib_util
50
50
 
51
51
from breezy import (
52
 
    config,
 
52
    bedding,
53
53
    debug,
54
54
    errors,
55
55
    help_topics,
402
402
 
403
403
 
404
404
def get_user_plugin_path():
405
 
    return osutils.pathjoin(config.config_dir(), 'plugins')
 
405
    return osutils.pathjoin(bedding.config_dir(), 'plugins')
406
406
 
407
407
 
408
408
def record_plugin_warning(warning_message):