lib/gettor/utils.py
def createDir(path):
    """Helper routine that creates a given directory. Doesn't fail if directory
       already exists.
    """
    try:
        os.makedirs(path)
    except OSError as e:
        if e.errno != errno.EEXIST:
            logging.error("Failed to create directory %s: %s" % (path, e))
            return False
    return True
Helper routine that creates a given directory. Doesn't fail if directory
       already exists.
    
Helper routine that creates a given directory. Doesn't fail if directory
already exists.
Helper routine that creates a given directory . Doesn ' t fail if directory already exists .
def createDir(path):
    try:
        os.makedirs(path)
    except OSError as e:
        if e.errno != errno.EEXIST:
            logging.error("Failed to create directory %s: %s" % (path, e))
            return False
    return True
def createDir ( path ) : try : os . makedirs ( path ) except OSError as e : if e . errno != errno . EEXIST : logging . error ( "Failed to create directory %s: %s" % ( path , e ) ) return False return True
Helper routine that creates a given directory.
Helper routine that creates a given directory .
"""Helper routine that creates a given directory. Doesn't fail if directory
       already exists.
    """
path