From a65dfc914517376b5ededb82e594236c5d61c721 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 5 Sep 2019 18:54:39 -0700 Subject: update all other mentions of python client lib --- extra/fixups/fixup_longtail_issnl_unique.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extra/fixups') diff --git a/extra/fixups/fixup_longtail_issnl_unique.py b/extra/fixups/fixup_longtail_issnl_unique.py index 385b0e29..ea615a13 100755 --- a/extra/fixups/fixup_longtail_issnl_unique.py +++ b/extra/fixups/fixup_longtail_issnl_unique.py @@ -54,7 +54,7 @@ import json import sqlite3 import itertools -import fatcat_client +import fatcat_openapi_client from fatcat_tools import authenticated_api from fatcat_tools.importers.common import EntityImporter, clean, LinePusher from fatcat_tools.importers.arabesque import b32_hex @@ -149,7 +149,7 @@ class LongtailIssnlSingleDomainFixup(EntityImporter): #print(sha1) try: file_entity = self.api.lookup_file(sha1=sha1, expand="releases") - except fatcat_client.rest.ApiException as err: + except fatcat_openapi_client.rest.ApiException as err: if err.status == 404: self.counts['skip-file-not-found'] += 1 return None -- cgit v1.2.3