Skip to content

Commit

Permalink
Remove duplicated decode call in Artella Client when creating new ver…
Browse files Browse the repository at this point in the history
…sions
  • Loading branch information
tpoveda committed May 31, 2021
1 parent d1ea27b commit 3d3d692
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions artella/core/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -726,10 +726,6 @@ def status(self, file_paths, include_remote=False):
file_paths = [utils.clean_path(file_path) for file_path in file_paths]

for file_path in file_paths:
try:
file_path = file_path.decode('utf-8')
except UnicodeDecodeError:
file_path = file_path.decode('latin-1')
uri_path = path_to_uri(file_path) if not is_uri_path(file_path) else file_path
uri_parts = urlparse(uri_path)
uri_handle = utils.clean_path(uri_parts.path)
Expand Down

0 comments on commit 3d3d692

Please sign in to comment.