Skip to content

deprecate self.moduleGenerator in favor of self.module_generator in EasyBlock#1088

Merged
boegel merged 2 commits intoeasybuilders:developfrom
boegel:module_generator
Nov 7, 2014
Merged

deprecate self.moduleGenerator in favor of self.module_generator in EasyBlock#1088
boegel merged 2 commits intoeasybuilders:developfrom
boegel:module_generator

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Nov 5, 2014

this will need an update in the easyblocks too, to avoid triggering deprecated code, see easybuilders/easybuild-easyblocks#506

@hpcugentbot
Copy link
Copy Markdown

Test PASSed.

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Nov 6, 2014

@stdweird, @wpoely86: please review

Comment thread easybuild/framework/easyblock.py Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

intersting message, not sure what it has to do with this code though...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also, why not use self.log?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

urgh, copy-paste fail, will fix

@wpoely86
Copy link
Copy Markdown
Member

wpoely86 commented Nov 7, 2014

Looks fine. Why the rename?

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Nov 7, 2014

@wpoely86: camel case must die

@hpcugentbot
Copy link
Copy Markdown

Test PASSed.

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Nov 7, 2014

@wpoely86: or, more formally, self.moduleGenerator is one of the only leftover places where we're still using camel-case, so it's a matter of consistency to change it to self.module_generator

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Nov 7, 2014

Thanks for the review @stdweird, @wpoely86!

boegel added a commit that referenced this pull request Nov 7, 2014
deprecate self.moduleGenerator in favor of self.module_generator in EasyBlock
@boegel boegel merged commit 8a7cf53 into easybuilders:develop Nov 7, 2014
@boegel boegel deleted the module_generator branch November 7, 2014 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants