Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
forrestfwilliams committed Mar 20, 2024
1 parent 61879bc commit 279e62f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/hyp3_autorift/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,6 @@ def main():
parser.add_argument('--publish-bucket', default='',
help='Bucket to publish the product to. '
f'Must be one of {OPEN_DATA_BUCKET} or {OPEN_DATA_BUCKET_TEST}')

parser.add_argument('--esa-username', default=None, help="Username for ESA's Copernicus Data Space Ecosystem")
parser.add_argument('--esa-password', default=None, help="Password for ESA's Copernicus Data Space Ecosystem")
parser.add_argument('--parameter-file', default=DEFAULT_PARAMETER_FILE,
Expand Down Expand Up @@ -604,7 +603,7 @@ def main():

if args.publish_bucket not in [OPEN_DATA_BUCKET, OPEN_DATA_BUCKET_TEST]:
raise ValueError(f'Invalid publish bucket: {args.publish}. '
f'Must be one of {OPEN_DATA_BUCKET} or {OPEN_DATA_BUCKET_TEST}')
f'Must be one of {OPEN_DATA_BUCKET} or {OPEN_DATA_BUCKET_TEST}')

prefix = get_opendata_prefix(product_file)
upload_file_to_s3_with_upload_access_keys(product_file, args.publish_bucket, prefix)
Expand Down

0 comments on commit 279e62f

Please sign in to comment.