projects
/
h5config.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
817c8de
)
Don't try and create a directory with a blank string.
author
W. Trevor King
<wking@drexel.edu>
Fri, 16 Mar 2012 14:42:02 +0000
(10:42 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Fri, 16 Mar 2012 14:42:02 +0000
(10:42 -0400)
h5config/storage/__init__.py
patch
|
blob
|
history
diff --git
a/h5config/storage/__init__.py
b/h5config/storage/__init__.py
index 13992e20510e285a1950318872b189a54978d05f..00d6ccade0817ea7a7e0a9069a05b860d6898bd6 100644
(file)
--- a/
h5config/storage/__init__.py
+++ b/
h5config/storage/__init__.py
@@
-52,5
+52,5
@@
class FileStorage (Storage):
def _create_basedir(self, filename):
dirname = _os_path.dirname(filename)
- if not _os_path.isdir(dirname):
+ if
dirname and
not _os_path.isdir(dirname):
_os.makedirs(dirname)