Skip to content

Commit

Permalink
Update ccmlib/node.py
Browse files Browse the repository at this point in the history
Co-authored-by: Israel Fruchter <[email protected]>
  • Loading branch information
bhalevy and fruch committed Dec 24, 2023
1 parent 504b281 commit ed69ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ccmlib/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -1382,7 +1382,7 @@ def _set_keyspace_initial_tablets(stress_options: List[str], initial_tablets:int
@staticmethod
def _set_stress_val(key, val, res):
def parse_num(s):
return locale.atof(s.replace(',', ''))
return float(s.replace(',', ''))

if "[" in val:
p = re.compile(r'^\s*([\d\.\,]+\d?)\s*\[.*')
Expand Down

0 comments on commit ed69ccb

Please sign in to comment.