This commit is contained in:
Kovid Goyal 2013-11-26 08:31:49 +05:30
commit ea23267f97

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