/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/crash.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:
52
52
 
53
53
import breezy
54
54
from . import (
55
 
    config,
 
55
    bedding,
56
56
    debug,
57
57
    osutils,
58
58
    plugin,
239
239
 
240
240
 
241
241
def _open_crash_file():
242
 
    crash_dir = config.crash_dir()
 
242
    crash_dir = bedding.crash_dir()
243
243
    if not osutils.isdir(crash_dir):
244
244
        # on unix this should be /var/crash and should already exist; on
245
245
        # Windows or if it's manually configured it might need to be created,