change ensuredir() to only make 1 call to lstat()
Bug #843294 reported by
Jason Gerard DeRose
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
FileStore |
Fix Released
|
High
|
Jason Gerard DeRose |
Bug Description
The ensuredir() function should make only 1 call to stat()/lstat().
No a big deal, but this will make ensuredir() more atomic and correct.
Related branches
lp://staging/~jderose/filestore/ensuredir
- Paul Hummer (community): Approve
- Jason Gerard DeRose: Needs Resubmitting
-
Diff: 40 lines (+11/-7)2 files modifiedfilestore.py (+6/-5)
test_filestore.py (+5/-2)
Changed in filestore: | |
status: | In Progress → Fix Committed |
Changed in filestore: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.