Skip to content

Commit

Permalink
fix quotes in fstring
Browse files Browse the repository at this point in the history
  • Loading branch information
ITJamie authored and s0undt3ch committed Aug 3, 2023
1 parent b2dc649 commit 611944f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/pkg/repo/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ def rpm(
def _create_repo_file(create_repo_path, url_suffix):
ctx.info(f"Creating '{repo_file_path.relative_to(repo_path)}' file ...")
if nightly_build_from:
base_url = f"salt-dev/{nightly_build_from}/{datetime.utcnow().strftime("%Y-%m-%d")}/"
base_url = f"salt-dev/{nightly_build_from}/{datetime.utcnow().strftime('%Y-%m-%d')}/"
repo_file_contents = "[salt-nightly-repo]"
elif "rc" in salt_version:
base_url = "salt_rc/"
Expand Down

0 comments on commit 611944f

Please sign in to comment.