Skip to content

Commit

Permalink
Merge pull request #277 from Cray-HPE/CRAYSAT-1916-bos
Browse files Browse the repository at this point in the history
CRAYSAT-1916: Fix unused code in `get_config_value` for handling infinite BOS timeouts
  • Loading branch information
annapoorna-s-alt authored Oct 22, 2024
2 parents 95a1c1d + 44a14eb commit 45e7a7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.32.8] - 2024-10-21

### Fixed
- Fix unused code in `get_config_value` for handling infinite BOS timeouts.

## [3.32.7] - 2024-10-15

### Fixed
Expand Down
3 changes: 0 additions & 3 deletions sat/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,9 +371,6 @@ def get_config_value(query_string):

value = CONFIG.get(section, option)

if option.lower() == 'timeout' and value == '-1':
return math.inf

return value


Expand Down

0 comments on commit 45e7a7f

Please sign in to comment.