Skip to content

Commit

Permalink
Fixing MR remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
victorusu committed Feb 27, 2017
1 parent f6d03d2 commit e9c97e9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions easybuild/tools/module_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit e9c97e9

Please sign in to comment.