Skip to content

Commit

Permalink
s3: ignore pylint warning
Browse files Browse the repository at this point in the history
Not sure why pylint is complaining about this but doesn't seem to be an
actual problem
  • Loading branch information
facetoe committed Oct 29, 2020
1 parent a4b5ac2 commit acf8ef9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rpm_s3_mirror/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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("+", " ")
Expand Down

0 comments on commit acf8ef9

Please sign in to comment.