Skip to content

Commit

Permalink
Document removal of ftp support due to switching to requests
Browse files Browse the repository at this point in the history
  • Loading branch information
mbocevski committed Oct 8, 2020
1 parent 2b0f49e commit 37ace68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datapusher/jobs.py
Expand Up @@ -348,9 +348,9 @@ def push_to_datastore(task_id, input, dry_run=False):
# check scheme
url = resource.get('url')
scheme = urlsplit(url).scheme
if scheme not in ('http', 'https', 'ftp'):
if scheme not in ('http', 'https'):
raise util.JobError(
'Only http, https, and ftp resources may be fetched.'
'Only http and https resources may be fetched.'
)

# fetch the resource data
Expand Down

0 comments on commit 37ace68

Please sign in to comment.