From acf8ef92f5a8731710b54d489f67d99268bcb685 Mon Sep 17 00:00:00 2001 From: William Coe Date: Thu, 29 Oct 2020 15:00:27 +1100 Subject: [PATCH] s3: ignore pylint warning Not sure why pylint is complaining about this but doesn't seem to be an actual problem --- rpm_s3_mirror/s3.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rpm_s3_mirror/s3.py b/rpm_s3_mirror/s3.py index ff54ec8..6744734 100644 --- a/rpm_s3_mirror/s3.py +++ b/rpm_s3_mirror/s3.py @@ -115,6 +115,7 @@ def _sync_objects(self, temp_dir: str, repo_objects: Iterable[Package], skip_exi elapsed = int(time.time() - start) self.log.info("Completed syncing %s objects in %s seconds", len(repo_objects), elapsed) + # pylint: disable=unsubscriptable-object def _sync_object(self, temp_dir: str, skip_existing: bool, repo_object: Union[Package, RepodataSection]): # When bootstrapping, support backfilling two versions of problematic packages (see below) workaround_destination = repo_object.destination.replace("+", " ")