Merge lp:~zyga/checkbox/fix-1300263 into lp:checkbox
Proposed by
Zygmunt Krynicki
Status: | Merged |
---|---|
Approved by: | Daniel Manrique |
Approved revision: | 2858 |
Merged at revision: | 2857 |
Proposed branch: | lp:~zyga/checkbox/fix-1300263 |
Merge into: | lp:checkbox |
Diff against target: |
82 lines (+30/-9) 1 file modified
plainbox/plainbox/provider_manager.py (+30/-9) |
To merge this branch: | bzr merge lp:~zyga/checkbox/fix-1300263 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Manrique (community) | Approve | ||
Review via email: mp+213536@code.launchpad.net |
Description of the change
e075587 plainbox:
9e7fd3a plainbox:
To post a comment you must log in.
Looks good!
26 + try: dest_bin_ dir, exist_ok=True)
27 + os.makedirs(
28 + except IOError:
29 + pass
Why are you ignoring IOError? if creation failed, won't things fail later?
exist_ok=True avoids OSError if components already exist (though "OSError will also be raised if the directory creation fails."), but maybe IOError signals something else that would warrant our attention.