Skip to content

Commit

Permalink
fix remark
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed Dec 3, 2014
1 parent 84fe650 commit 70347a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easybuild/tools/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def __init__(self, *args, **kwargs):

# set up constants to seed into config files parser, by section
self.go_cfg_constants = {
GeneralOption.DEFAULTSECT: {
self.DEFAULTSECT: {
'DEFAULT_ROBOT_PATHS': (os.pathsep.join(self.default_robot_paths),
"List of default robot paths ('%s'-separated)" % os.pathsep),
}
Expand Down Expand Up @@ -500,7 +500,7 @@ def avail_cfgfile_constants(self):
]
for section in self.go_cfg_constants:
lines.append('')
if section != GeneralOption.DEFAULTSECT:
if section != self.DEFAULTSECT:
section_title = "only in '%s' section:" % section
lines.append(section_title)
for cst_name, (cst_value, cst_help) in sorted(self.go_cfg_constants[section].items()):
Expand Down

0 comments on commit 70347a2

Please sign in to comment.