Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making engine check more pythonic #176

Merged
merged 1 commit into from
Aug 30, 2017
Merged

Conversation

lsetiawan
Copy link
Member

Overview

This is a follow up to #174 after @emiliom comment yesterday

@lsetiawan lsetiawan requested a review from emiliom August 30, 2017 16:29
Copy link
Member

@emiliom emiliom left a comment

Choose a reason for hiding this comment

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

Thanks for humoring me :)

@emiliom emiliom merged commit f131f28 into ODM2:master Aug 30, 2017
@lsetiawan lsetiawan deleted the mssql_fix branch August 30, 2017 16:43
@@ -151,7 +151,7 @@ def get_variables_from_results(self, var_codes=None):

r_t_Arr = []
if l_var_codes is None:
if self.engine.name is 'postgresql' or self.engine.name is 'mssql':
if self.engine.name in ('postgresql', 'mssql'):
Copy link
Member

Choose a reason for hiding this comment

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

👍

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.

3 participants