Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies and document removal of FTP #208

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions datapusher/jobs.py
Original file line number Diff line number Diff line change
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
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
-r requirements.txt
httpretty==0.9.4
httpretty==1.0.2
nose
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
argparse
ckanserviceprovider==0.0.10
html5lib==1.0.1
html5lib==1.1
messytables==0.15.2
certifi
requests[security]==2.24.0