X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=m_lib%2Fm_shutil.py;h=f1034e0f65ec90f9a5f1e543276c71e380aa21d0;hb=e75d2c94f9bd326ebaace635a06599a1be35b024;hp=7546b0d3c17cf61cae3e185ce45743c1366b6e2c;hpb=87ed070d1b1776366d3ddd15eef1f37a45c585ea;p=m_lib.git diff --git a/m_lib/m_shutil.py b/m_lib/m_shutil.py index 7546b0d..f1034e0 100755 --- a/m_lib/m_shutil.py +++ b/m_lib/m_shutil.py @@ -15,7 +15,7 @@ def mkhier(path): # Python implementation of UNIX' mkdir -p /path/to/dir return # It's Ok to have the directory already created if os.path.exists(path): - raise mkhier_error, "`%s' is file" % path + raise mkhier_error("`%s' is file" % path) list_dirs = string.split(path, os.sep) #print(list_dirs)