~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/lp_api.py

(mbp) squelch chmod errors,
 to cope with non-unixy unix filesystems (Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
        proxy_info=proxy_info)
135
135
    # XXX: Work-around a minor security bug in launchpadlib 1.5.1, which would
136
136
    # create this directory with default umask.
137
 
    os.chmod(cache_directory, 0700)
 
137
    osutils.chmod_if_possible(cache_directory, 0700)
138
138
    return launchpad
139
139
 
140
140