Skip to content

Commit

Permalink
Iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielschowe committed Sep 18, 2024
1 parent dfa9485 commit 37bfb8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pontos/github/api/packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async def package(

async def package_versions(
self, organization: str, package_type: PackageType, package_name: str
) -> AsyncIterator[PackageVersion]:
):
"""
Get information about package versions
Expand Down Expand Up @@ -348,7 +348,7 @@ async def delete_package_with_tag(
)
"""

async for version in await self.package_versions(organization, package_type, package_name):
async for version in self.package_versions(organization, package_type, package_name):
if version.tags == tag:
await self.delete_package_version(organization, package_type, package_name, version.version)
return
Expand Down

0 comments on commit 37bfb8d

Please sign in to comment.