Skip to content

Commit 96d0450

Browse files
committed
appease the Hound
1 parent 16375c2 commit 96d0450

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

easybuild/framework/easyconfig/easyconfig.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ def __init__(self, path, extra_options=None, build_specs=None, validate=True, hi
410410
if rawtxt is None:
411411
self.path = path
412412
self.rawtxt = read_file(path)
413-
self.log.debug("Raw contents from supplied easyconfig file %s: %s" % (path, self.rawtxt))
413+
self.log.debug("Raw contents from supplied easyconfig file %s: %s", path, self.rawtxt)
414414
else:
415415
self.rawtxt = rawtxt
416416
self.log.debug("Supplied raw easyconfig contents: %s" % self.rawtxt)
@@ -604,7 +604,7 @@ def parse(self):
604604
type(self.build_specs))
605605
self.log.debug("Obtained specs dict %s" % arg_specs)
606606

607-
self.log.info("Parsing easyconfig file %s with rawcontent: %s" % (self.path, self.rawtxt))
607+
self.log.info("Parsing easyconfig file %s with rawcontent: %s", self.path, self.rawtxt)
608608
self.parser.set_specifications(arg_specs)
609609
local_vars = self.parser.get_config_dict()
610610
self.log.debug("Parsed easyconfig as a dictionary: %s" % local_vars)

easybuild/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,9 +314,9 @@ def main(args=None, logfile=None, do_build=None, testing=False, modtool=None):
314314
elif any(no_ec_opts):
315315
paths = determined_paths
316316
else:
317-
print_error(("Please provide one or multiple easyconfig files, or use software build "
318-
"options to make EasyBuild search for easyconfigs"),
319-
log=_log, opt_parser=eb_go.parser, exit_on_error=not testing)
317+
print_error("Please provide one or multiple easyconfig files, or use software build " +
318+
"options to make EasyBuild search for easyconfigs",
319+
log=_log, opt_parser=eb_go.parser, exit_on_error=not testing)
320320
_log.debug("Paths: %s", paths)
321321

322322
# run regtest

0 commit comments

Comments
 (0)