Renaming util.get_build_verbosity_flag into util.get_build_verbosity_extra_flags

This commit is contained in:
Yannick Jadoul
2018-04-30 15:07:56 +02:00
parent 8d9d970874
commit eedcd62753
4 changed files with 10 additions and 12 deletions
+4 -4
View File
@@ -13,13 +13,13 @@ def prepare_command(command, python, pip, project):
return command.format(python=python, pip=pip, project=project)
def get_build_verbosity_flag(level):
def get_build_verbosity_extra_flags(level):
if level > 0:
return '-' + level * 'v'
return ['-' + level * 'v']
elif level < 0:
return '-' + -level * 'q'
return ['-' + -level * 'q']
else:
return ''
return []
class BuildSkipper(object):