Create a file if it doesn't exist and open for reading and writing.
(path)
| 2187 | os.remove(f.name + '.lock') |
| 2188 | |
| 2189 | def _create_carefully(path): |
| 2190 | """Create a file if it doesn't exist and open for reading and writing.""" |
| 2191 | return open(path, 'xb+') |
| 2192 | |
| 2193 | def _create_temporary(path): |
| 2194 | """Create a temp file based on path and open for reading and writing.""" |
no test coverage detected
searching dependent graphs…