Exemplo n.º 1
0
def valid_dir(path):
    ''' Check wether the path is a correct directory located data.
    '''
    try:
        tracker = ajaxInstance.open(path)
    except:
        tracker = None
        PRINT( sys.exc_info())
    return tracker
Exemplo n.º 2
0
def valid_dir(path):    
    """ Check wether the path is a correct directory located data.
    """    
    try:        
        tracker = ajaxInstance.open(path)                
    except:
        tracker = None
        print sys.exc_info()
    return tracker