Skip to content

Commit

Permalink
Cambiotipo de format
Browse files Browse the repository at this point in the history
  • Loading branch information
FScaccheri committed Sep 23, 2019
1 parent 706ca73 commit 5902b40
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pydatajson/custom_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ def __init__(self, dataset_idx, distribution_idx,
validator = "brokenLink"
message = "Distribution ({}) con 'accessUrl' ({}) inválida ({})".\
format(distribution_title, broken_url, status_code)
validator_value = f"Chequea que el 'accessUrl' devuelva un status " \
f"code válido"
validator_value = "Chequea que el 'accessUrl' devuelva un status " \
"code válido"
path = ['dataset', dataset_idx, 'distribution', distribution_idx,
'accessUrl']

Expand All @@ -139,8 +139,8 @@ def __init__(self, dataset_idx, distribution_idx, distribution_title,
validator = "brokenLink"
message = "Distribution ({}) con 'downloadUrl' ({}) inválida ({})".\
format(distribution_title, broken_url, status_code)
validator_value = f"Chequea que el 'downloadUrl' devuelva un status " \
f"code válido"
validator_value = "Chequea que el 'downloadUrl' devuelva un status " \
"code válido"
path = ['dataset', dataset_idx, 'distribution', distribution_idx,
'downloadUrl']

Expand Down

0 comments on commit 5902b40

Please sign in to comment.