projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Code cleanup.
[python_utils.git]
/
file_utils.py
diff --git
a/file_utils.py
b/file_utils.py
index 67e6f561f394e1a99c4ace7bb2f6ddbe733ea011..176b0dab055f1447ad8ac5a0d67ce073be7deb7c 100644
(file)
--- a/
file_utils.py
+++ b/
file_utils.py
@@
-20,6
+20,7
@@
logger = logging.getLogger(__name__)
# os.remove(file) you fuckwit.
+# os.path.basename too.
def create_path_if_not_exist(path, on_error=None):