ensure mkdirs_exists_ok is not called for URLs

pull/1642/head
Greg Hogan 5 years ago
parent 5fdb60d43e
commit 7bf9b04570
  1. 2
      common/file_helpers.py

@ -5,6 +5,8 @@ from atomicwrites import AtomicWriter
def mkdirs_exists_ok(path):
if path.startswith('http'):
raise ValueError('URL path')
try:
os.makedirs(path)
except OSError:

Loading…
Cancel
Save