-
Notifications
You must be signed in to change notification settings - Fork 64
Conversation
|
@paselem, |
|
|
||
| if args.custom_script is not None: | ||
| _custom_script = args.custom_script | ||
| print("path to custom script: %s" % _custom_script) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor: going forward I usually prefer print('foo {}'.format('myString')). Do you have an opinion?
| clusterlib.create_cluster( | ||
| batch_client, | ||
| blob_client, | ||
| _custom_script, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do some variables start with _ and not others?
|
|
||
| run_custom_script = '' | ||
| if custom_script_file is not None: | ||
| run_custom_script = '/bin/sh -c ' + custom_script_file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use '/bin/sh -c {}'.format(custom_script_file)
| def cluster_install_cmd(): | ||
| def cluster_install_cmd(custom_script_file): | ||
|
|
||
| run_custom_script = '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some places use "", while other use ''. We should consolidate on one.
paselem
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please view my feedbck
|
i will disregard your comments for this PR and create a separate work item which would be to consolidate syntax. |
No description provided.