Merge lp://qastaging/~gesha/linaro-license-protection/fix-dir-sanitizing into lp://qastaging/~linaro-automation/linaro-license-protection/trunk
Proposed by
Georgy Redkozubov
Status: | Merged |
---|---|
Merged at revision: | 124 |
Proposed branch: | lp://qastaging/~gesha/linaro-license-protection/fix-dir-sanitizing |
Merge into: | lp://qastaging/~linaro-automation/linaro-license-protection/trunk |
Diff against target: |
30 lines (+10/-8) 1 file modified
scripts/publish_to_snapshots.py (+10/-8) |
To merge this branch: | bzr merge lp://qastaging/~gesha/linaro-license-protection/fix-dir-sanitizing |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Deepti B. Kalakeri (community) | Approve | ||
Review via email: mp+121703@code.qastaging.launchpad.net |
Description of the change
This branch fixes sanitizing of dir with subdirs.
Previously it worked only with files in dir and failed on first found subdir with following error: In main() Exception details: [Errno 21] Is a directory: '/srv/staging.
Now recursion works correctly.
To post a comment you must log in.
Do you want os.makedirs rather than os.mkdir (it is more like mkdir -p)?