Skip to content

Commit

Permalink
fix some small things
Browse files Browse the repository at this point in the history
  • Loading branch information
valentijnscholten committed Apr 9, 2019
1 parent 14e1957 commit 15f2842
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/v2/dojo_ci_cd.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_user_id(dd, user_name):
user_id = users.data["results"][0]["id"]
return user_id
else:
raise ValueError('user not found: ' + str(username))
raise ValueError('user not found: ' + str(user_name))

def get_product_id(dd, product_id, product_name):
if product_id != None:
Expand Down Expand Up @@ -284,7 +284,7 @@ class Main:
parser.add_argument('--build', help="Build ID", required=False)

group1 = parser.add_mutually_exclusive_group(required=True)
group1.add_argument('--engagement', help="Engagement ID", required=False, type=int)
group1.add_argument('--engagement', help="Engagement ID", required=False)
group1.add_argument('--engagement_name', help="Engagement Name", required=False)

group2 = parser.add_mutually_exclusive_group(required=True)
Expand Down

0 comments on commit 15f2842

Please sign in to comment.