harvester-d4science/ckanext/harvest/harvesters
Konrad Reiche 05094090af Change type of the API version to integer
The CKAN logic uses integers when dealing with the API version, e.g.
making checks which API version is in use. Currently, the harvester
uses strings to identify the API version. Instead of dealing with
type conversion the harvester could use integers directly.

This commit fixes okfn/ckanext-harvest#36. When the API version is
parsed from the configuration it is passed through the int() function.
This way the harvesting will still work even if a harvest source was
configured with a string API version which makes this commit backward
compatible.

Signed-off-by: Konrad Reiche <konrad.reiche@fokus.fraunhofer.de>
2013-05-27 12:51:48 +02:00
..
__init__.py [harvesters] factor out a base harvester for use in generic harvesting apps 2011-06-02 12:07:07 +02:00
base.py Change type of the API version to integer 2013-05-27 12:51:48 +02:00
ckanharvester.py Change type of the API version to integer 2013-05-27 12:51:48 +02:00