"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "3327c2b0f66885bf720d7505cd4970abc8eb8904"
Commit d311f87b authored by thomwolf's avatar thomwolf
Browse files

cleanup

parent 7d99e05f
......@@ -287,6 +287,8 @@ def cached_path(
tar_file = tarfile.open(output_path)
tar_file.extractall(output_path_extracted)
tar_file.close()
else:
raise EnvironmentError("Archive format of {} could not be identified".format(output_path))
return output_path_extracted
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment