mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
adjust if none check
This commit is contained in:
parent
bf1dda1212
commit
c122d225fc
1 changed files with 1 additions and 1 deletions
|
@ -480,7 +480,7 @@ def rpm(
|
|||
def _create_repo_file(create_repo_path, url_suffix, nightly_path=None):
|
||||
ctx.info(f"Creating '{repo_file_path.relative_to(repo_path)}' file ...")
|
||||
if nightly_build_from:
|
||||
if not nightly_path:
|
||||
if nightly_path is None:
|
||||
nightly_path = datetime.utcnow().strftime("%Y-%m-%d")
|
||||
base_url = f"salt-dev/{nightly_build_from}/{nightly_path}/"
|
||||
repo_file_contents = "[salt-nightly-repo]"
|
||||
|
|
Loading…
Add table
Reference in a new issue