Plain except:s are evil as they will catch all kinds of exceptions
including NameError and AttrubiteError.
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
try:
createDir = not stat.S_ISDIR(os.lstat(p).st_mode)
try:
createDir = not stat.S_ISDIR(os.lstat(p).st_mode)
createDir = True
if createDir:
createDir = True
if createDir:
raise
try:
os.removedirs(os.path.dirname(path))
raise
try:
os.removedirs(os.path.dirname(path))
pass
def uniquePath(path, branch):
pass
def uniquePath(path, branch):