Make base directories only

This commit is contained in:
Joel Goguen 2013-11-25 21:58:12 -04:00
parent 9e9ea5178f
commit 58a66b1007

View File

@ -676,7 +676,7 @@ class Container(object): # {{{
# of links to the file
base = os.path.dirname(path)
if not os.path.exists(base):
os.makedirs(path)
os.makedirs(base)
open(path, 'wb').close()
return item