Skip to content

Commit

Permalink
Merge branch with error message fix into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevan Pejak committed May 4, 2020
2 parents 159101a + 408a97f commit a9ed11a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sevenbridges/models/automation.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ def create(cls, automation, version, location, api=None):
api = api if api else cls._API

if version is None:
raise SbgError('Code package location is required!')
raise SbgError('Code package version is required!')

if location is None:
raise SbgError('Code package version is required!')
raise SbgError('Code package location is required!')

data = {
'version': version,
Expand Down

0 comments on commit a9ed11a

Please sign in to comment.