Skip to content

Commit 74b0338

Browse files
committed
fix typos
1 parent 7956bcc commit 74b0338

File tree

1 file changed

+2
-2
lines changed
  • easybuild/framework/easyconfig/format

1 file changed

+2
-2
lines changed

easybuild/framework/easyconfig/format/one.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def extract_comments(self, rawtxt):
350350

351351
parsed_ec = self.get_config_dict()
352352

353-
param_def_regex = re.compile(r'^([a-z__0-9]+)\s*=')
353+
param_def_regex = re.compile(r'^([a-z_0-9]+)\s*=')
354354
whitespace_regex = re.compile(r'^\s*$')
355355

356356
def clean_part(part):
@@ -361,7 +361,7 @@ def split_on_comment_hash(line, param_key):
361361
"""Helper function to split line on first (actual) comment character '#'."""
362362

363363
# string representation of easyconfig parameter value,
364-
# used to check is supposed comment isn't actual part of the parameter value
364+
# used to check if supposed comment isn't actual part of the parameter value
365365
# (and thus not actually a comment at all)
366366
param_strval = str(parsed_ec.get(param_key))
367367

0 commit comments

Comments
 (0)