File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
easybuild/framework/easyconfig/format Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments