Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -1911,7 +1911,7 @@ def ci_test_onedir_pkgs(session):
except CommandFailed:
if os.environ.get("RERUN_FAILURES", "0") == "0":
# Don't rerun on failures
return
sys.exit(1)

# Don't print the system information, not the test selection on reruns
global PRINT_TEST_SELECTION
Expand Down Expand Up @@ -1962,7 +1962,7 @@ def ci_test_onedir_pkgs(session):
except CommandFailed:
if os.environ.get("RERUN_FAILURES", "0") == "0":
# Don't rerun on failures
return
sys.exit(1)
cmd_args = chunks["install"]
pytest_args = (
common_pytest_args[:]
Expand Down
2 changes: 1 addition & 1 deletion salt/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def string(self):
version_string += f".{self.mbugfix}"
if self.pre_type:
version_string += f"{self.pre_type}{self.pre_num}"
if self.noc and self.sha:
if self.noc is not None and self.sha:
noc = self.noc
if noc < 0:
noc = "0na"
Expand Down
Loading