Compare commits
	
		
			No commits in common. "bugfix/duplicate-path-segments" and "develop" have entirely different histories.
		
	
	
		
			bugfix/dup
			...
			develop
		
	
		
					 1 changed files with 0 additions and 4 deletions
				
			
		|  | @ -360,8 +360,6 @@ class Client(object): | ||||||
|         os.makedirs(local_path) |         os.makedirs(local_path) | ||||||
| 
 | 
 | ||||||
|         for resource_name in self.list(urn.path()): |         for resource_name in self.list(urn.path()): | ||||||
|             if urn.path().endswith(resource_name): |  | ||||||
|                 continue |  | ||||||
|             _remote_path = "{parent}{name}".format(parent=urn.path(), name=resource_name) |             _remote_path = "{parent}{name}".format(parent=urn.path(), name=resource_name) | ||||||
|             _local_path = os.path.join(local_path, resource_name) |             _local_path = os.path.join(local_path, resource_name) | ||||||
|             self.download(local_path=_local_path, remote_path=_remote_path, progress=progress) |             self.download(local_path=_local_path, remote_path=_remote_path, progress=progress) | ||||||
|  | @ -715,8 +713,6 @@ class Client(object): | ||||||
|         remote_resource_names = prune(paths, expression) |         remote_resource_names = prune(paths, expression) | ||||||
| 
 | 
 | ||||||
|         for remote_resource_name in remote_resource_names: |         for remote_resource_name in remote_resource_names: | ||||||
|             if remote_resource_name == "": |  | ||||||
|                 continue |  | ||||||
|             local_path = os.path.join(local_directory, remote_resource_name) |             local_path = os.path.join(local_directory, remote_resource_name) | ||||||
|             remote_path = "{remote_directory}{resource_name}".format(remote_directory=urn.path(), resource_name=remote_resource_name) |             remote_path = "{remote_directory}{resource_name}".format(remote_directory=urn.path(), resource_name=remote_resource_name) | ||||||
|             remote_urn = Urn(remote_path) |             remote_urn = Urn(remote_path) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue