Loading crossbow/crossbow.py +4 −2 Original line number Diff line number Diff line Loading @@ -9,7 +9,8 @@ class crossbowBase(object): base class for crossbowMount and crossbowGlobus ''' def __init__(self,api_key,CKAN_url="http://128.219.185.145:5000",user_agent='crossbow'): def __init__(self,api_key,CKAN_url="http://128.219.185.145:5000", user_agent='crossbow'): #connect to CKAN webserver self.ckan = RemoteCKAN(CKAN_url, apikey=api_key, user_agent=user_agent) Loading Loading @@ -249,7 +250,8 @@ class crossbowMount(crossbowBase): or the owner of the resource to delete a resource) ''' def __init__(self,NFS_path,api_key,CKAN_url="http://128.219.185.145:5000",user_agent='crossbow'): def __init__(self,NFS_path,api_key,CKAN_url="http://128.219.185.145:5000", user_agent='crossbow'): #make sure NFS_path exists if not os.path.isdir(NFS_path) or not os.path.ismount(NFS_path): Loading Loading
crossbow/crossbow.py +4 −2 Original line number Diff line number Diff line Loading @@ -9,7 +9,8 @@ class crossbowBase(object): base class for crossbowMount and crossbowGlobus ''' def __init__(self,api_key,CKAN_url="http://128.219.185.145:5000",user_agent='crossbow'): def __init__(self,api_key,CKAN_url="http://128.219.185.145:5000", user_agent='crossbow'): #connect to CKAN webserver self.ckan = RemoteCKAN(CKAN_url, apikey=api_key, user_agent=user_agent) Loading Loading @@ -249,7 +250,8 @@ class crossbowMount(crossbowBase): or the owner of the resource to delete a resource) ''' def __init__(self,NFS_path,api_key,CKAN_url="http://128.219.185.145:5000",user_agent='crossbow'): def __init__(self,NFS_path,api_key,CKAN_url="http://128.219.185.145:5000", user_agent='crossbow'): #make sure NFS_path exists if not os.path.isdir(NFS_path) or not os.path.ismount(NFS_path): Loading