Do not print needless newlines in check.
This commit is contained in:
parent
93a3919db5
commit
7d9ffa07ac
@ -18,7 +18,7 @@ class CheckCommand(object):
|
||||
|
||||
# If the project is empty just skip it
|
||||
if not state:
|
||||
return
|
||||
return None
|
||||
|
||||
print('Checking staging project: {}'.format(project))
|
||||
if type(state) is list:
|
||||
@ -28,6 +28,8 @@ class CheckCommand(object):
|
||||
else:
|
||||
print(' ++ Acceptable staging project')
|
||||
|
||||
return True
|
||||
|
||||
def perform(self, project):
|
||||
"""
|
||||
Check one staging project verbosibly or all of them at once
|
||||
@ -37,8 +39,8 @@ class CheckCommand(object):
|
||||
self._check_one_project(project, True)
|
||||
else:
|
||||
for project in self.api.get_staging_projects():
|
||||
self._check_one_project(project, False)
|
||||
# newline to split multiple prjs at once
|
||||
print('')
|
||||
if self._check_one_project(project, False):
|
||||
# newline to split multiple prjs at once
|
||||
print('')
|
||||
|
||||
return True
|
||||
|
Loading…
x
Reference in New Issue
Block a user