From e9c97e95c6a7ccec6641bfdb76285c0eef7438d4 Mon Sep 17 00:00:00 2001 From: Victor Holanda Rusu Date: Mon, 27 Feb 2017 17:11:26 +0100 Subject: [PATCH] Fixing MR remarks --- easybuild/tools/module_generator.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/easybuild/tools/module_generator.py b/easybuild/tools/module_generator.py index 74f24aa1a9..8e2daead71 100644 --- a/easybuild/tools/module_generator.py +++ b/easybuild/tools/module_generator.py @@ -217,7 +217,6 @@ def set_as_default(self, module_folder_path, module_version): raise NotImplementedError -# noinspection PyPackageRequirements class ModuleGeneratorTcl(ModuleGenerator): """ Class for generating Tcl module files. @@ -724,7 +723,7 @@ def set_as_default(self, module_folder_path, module_version): remove_file(default_filepath) self.log.info("Removed default version marking from %s.", link_target) elif os.path.exists(default_filepath): - raise EasyBuildError('Found an unexpected file called default in dir %s' % module_folder_path) + raise EasyBuildError('Found an unexpected file named default in dir %s' % module_folder_path) symlink(module_version + self.MODULE_FILE_EXTENSION, default_filepath, use_abspath_source=False) self.log.info("Module default version file written to point to %s", default_filepath)