diff --git a/outpostcli/finetunings.py b/outpostcli/finetunings.py index 9c54295..178d11a 100644 --- a/outpostcli/finetunings.py +++ b/outpostcli/finetunings.py @@ -1,18 +1,15 @@ import click from outpostkit import Client, Finetunings +from outpostkit.utils import convert_outpost_date_str_to_date from rich.table import Table from outpostcli.utils import ( add_options, api_token_opt, click_group, - condense_endpt_autogen_configs, console, entity_opt, - get_log_level_style_info, - output_style_opt, ) -from outpostkit.utils import convert_outpost_date_str_to_date @click_group() diff --git a/outpostcli/lfs/part.py b/outpostcli/lfs/part.py index 6682ffa..7652246 100644 --- a/outpostcli/lfs/part.py +++ b/outpostcli/lfs/part.py @@ -44,7 +44,7 @@ def transfer_part(part: PartInfo): try: _log.info(f"uploading part of {part.filepath}, part no: {part.no}") r = retriable_upload_part(part.url, data) - if isinstance(r, LFSException): + if isinstance(r, ProxyLFSException): return LFSException(code=r.code, message=r.message, doc_url=r.doc_url) else: etag = str(r.headers.get("etag"))