diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-29 00:09:08 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-29 00:09:08 -0800 |
commit | eb40a5f274f3608db34309cfd16739a7642ef5e7 (patch) | |
tree | 17a933cc873e0c2728af909862183f5095c9f38e /python/fatcat_export.py | |
parent | d95fa771f5c9a75dece2038ee50619a53f9c43f7 (diff) | |
download | fatcat-eb40a5f274f3608db34309cfd16739a7642ef5e7.tar.gz fatcat-eb40a5f274f3608db34309cfd16739a7642ef5e7.zip |
fixes from ident schema refactor
Diffstat (limited to 'python/fatcat_export.py')
-rwxr-xr-x | python/fatcat_export.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_export.py b/python/fatcat_export.py index 6a5395de..7d2a6508 100755 --- a/python/fatcat_export.py +++ b/python/fatcat_export.py @@ -22,7 +22,7 @@ def run_export_releases(args): for line in args.ident_file: ident = uuid2fcid(line.split()[0]) - release = api.get_release(id=ident, expand="all") + release = api.get_release(ident=ident, expand="all") args.json_output.write(json.dumps(release.to_dict()) + "\n") def run_transform_releases(args): @@ -45,7 +45,7 @@ def run_export_changelog(args): end = latest.index for i in range(args.start, end): - entry = api.get_changelog_entry(id=i) + entry = api.get_changelog_entry(index=i) args.json_output.write(json.dumps(entry.to_dict()) + "\n") def main(): |