Skip to content

Commit

Permalink
fixed some output
Browse files Browse the repository at this point in the history
  • Loading branch information
Graham R Pugh committed Jul 1, 2020
1 parent fc1971e commit 353a20e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions JSSImporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,17 +540,15 @@ def handle_package(self):
# only update the package object if an uploand ad was carried out
if self.env["STOP_IF_NO_JSS_UPLOAD"] is True and not self.upload_needed:
self.output(
"Not overwriting policy as upload requirement is determined as {} "
"and STOP_IF_NO_JSS_UPLOAD is set to True.".format(self.upload_needed)
"Not overwriting policy as upload requirement is determined as False, "
"and STOP_IF_NO_JSS_UPLOAD is set to True."
)
self.env["stop_processing_recipe"] = True
return
elif not self.upload_needed:
self.output(
"Overwriting policy although upload requirement is determined as {} "
"because STOP_IF_NO_JSS_UPLOAD is not set to True.".format(
self.upload_needed
)
"Overwriting policy although upload requirement is determined as False, "
"because STOP_IF_NO_JSS_UPLOAD is not set to True."
)

# now update the package object
Expand Down

0 comments on commit 353a20e

Please sign in to comment.