ckan / datapusher

A standalone web service that pushes data files from a CKAN site resources into its DataStore
GNU Affero General Public License v3.0
77 stars 153 forks source link

Py3 argparser fix #197

Closed shubham-mahajan closed 4 years ago

shubham-mahajan commented 4 years ago

Argparse has removed the type=file support in Py3.

https://docs.python.org/3/library/argparse.html#type

Using six to validate the python version and then using argparse accordingly.