Skip to content

Commit

Permalink
No need to stringify here.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Oct 8, 2023
1 parent d1d6edb commit 44445f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/antsibull_core/collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async def install_together(
os.makedirs(collection_dir, mode=0o700, exist_ok=False)
installers.append(
asyncio.create_task(
async_log_run(["tar", "-xf", f"{pathname}", "-C", collection_dir])
async_log_run(["tar", "-xf", pathname, "-C", collection_dir])
)
)

Expand Down Expand Up @@ -71,7 +71,7 @@ async def install_separately(

package_dir = os.path.join(
collection_dir,
f"ansible-collections-{namespace}." f"{collection}-{version}",
f"ansible-collections-{namespace}.{collection}-{version}",
)
os.mkdir(package_dir, mode=0o700)
collection_dirs.append(package_dir)
Expand All @@ -85,7 +85,7 @@ async def install_separately(

installers.append(
asyncio.create_task(
async_log_run(["tar", "-xf", f"{pathname}", "-C", collection_dir])
async_log_run(["tar", "-xf", pathname, "-C", collection_dir])
)
)

Expand Down

0 comments on commit 44445f2

Please sign in to comment.