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

Fixes multiple PRs raised by Test team #107

Merged
merged 11 commits into from
Apr 25, 2019
Merged

Conversation

rsmekala
Copy link

What does this PR do?

Fixes #104

@rsmekala
Copy link
Author

Fixes #112

@rsmekala
Copy link
Author

Fixes #109

@rsmekala
Copy link
Author

Fixes #113, #114

@rsmekala
Copy link
Author

Fixes #115

@rsmekala rsmekala changed the title Support dynamic config mode Fixes multiple PRs raised by Test team Apr 25, 2019

if check and not test:
if db_mode == 'dynamic' or check and not test:
Copy link

Choose a reason for hiding this comment

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

can you just use default value for check and then we wont need this line change

Copy link
Author

Choose a reason for hiding this comment

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

ret['message'] = 'Invalid image path.'
ret['out'] = False
return ret
if not os.path.isfile(image_cached_path):
Copy link

Choose a reason for hiding this comment

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

check if this is Tab?

Copy link
Author

Choose a reason for hiding this comment

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

Verified no Tab.

@@ -1510,7 +1555,7 @@ def get_table(table, table_file, path=None, target=None, key=None, key_items=Non
except Exception as err:
ret['message'] = 'Uncaught exception - please report: {0}'.format(
str(err))
traceback.print_exc()

Copy link

Choose a reason for hiding this comment

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

revert the removed line back

Copy link
Author

Choose a reason for hiding this comment

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

Reverted it back

Copy link

@vnitinv vnitinv left a comment

Choose a reason for hiding this comment

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

please do the requested changes.

@rsmekala
Copy link
Author

@vnitinv Also updated the comment as requested.

Copy link

@vnitinv vnitinv left a comment

Choose a reason for hiding this comment

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

looks good

@vnitinv vnitinv merged commit 04b366c into Juniper:2019.2 Apr 25, 2019
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.

2 participants