Apply suggestions from code review

Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
This commit is contained in:
Alexandre Aubin 2020-09-11 16:47:49 +02:00 committed by GitHub
parent 4c9f4f228d
commit 99b0a4184d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -383,7 +383,7 @@ ynh_permission_url() {
then then
# Convert a list from getopts to python list # Convert a list from getopts to python list
# Note that getopts separate the args with ';' # Note that getopts separate the args with ';'
# By example: # For example:
# --add_url /urlA /urlB # --add_url /urlA /urlB
# will be: # will be:
# add_url=['/urlA', '/urlB'] # add_url=['/urlA', '/urlB']
@ -394,7 +394,7 @@ ynh_permission_url() {
then then
# Convert a list from getopts to python list # Convert a list from getopts to python list
# Note that getopts separate the args with ';' # Note that getopts separate the args with ';'
# By example: # For example:
# --remove_url /urlA /urlB # --remove_url /urlA /urlB
# will be: # will be:
# remove_url=['/urlA', '/urlB'] # remove_url=['/urlA', '/urlB']
@ -454,7 +454,7 @@ ynh_permission_update() {
then then
# Convert a list from getopts to python list # Convert a list from getopts to python list
# Note that getopts separate the args with ';' # Note that getopts separate the args with ';'
# By example: # For example:
# --add alice bob # --add alice bob
# will be: # will be:
# add=['alice', 'bob'] # add=['alice', 'bob']
@ -464,7 +464,7 @@ ynh_permission_update() {
then then
# Convert a list from getopts to python list # Convert a list from getopts to python list
# Note that getopts separate the args with ';' # Note that getopts separate the args with ';'
# By example: # For example:
# --remove alice bob # --remove alice bob
# will be: # will be:
# remove=['alice', 'bob'] # remove=['alice', 'bob']