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

  • Committer: Jelmer Vernooij
  • Date: 2019-10-13 22:53:02 UTC
  • mfrom: (7290.1.35 work)
  • mto: This revision was merged to the branch mainline in revision 7405.
  • Revision ID: jelmer@jelmer.uk-20191013225302-vg88ztajzq05hkas
Merge lp:brz/3.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
520
520
        """Replacer for shutil.rmtree: could remove readonly dirs/files"""
521
521
        return shutil.rmtree(path, ignore_errors, onerror)
522
522
 
523
 
    f = win32utils.get_unicode_argv     # special function or None
524
 
    if f is not None:
525
 
        get_unicode_argv = f
 
523
    get_unicode_argv = getattr(win32utils, 'get_unicode_argv', get_unicode_argv)
526
524
    path_from_environ = win32utils.get_environ_unicode
527
525
    _get_home_dir = win32utils.get_home_location
528
526
    getuser_unicode = win32utils.get_user_name