Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
paulineribeyre committed Nov 12, 2024
1 parent c4b21b5 commit 2657b23
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 1 addition & 6 deletions gen3workflow/aws_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,7 @@ def create_iam_user_and_key(user_id):
]

try:
iam_client.create_user(
# Path='string',
UserName=iam_user_name,
# PermissionsBoundary='string',
Tags=iam_tags,
)
iam_client.create_user(UserName=iam_user_name, Tags=iam_tags)
except ClientError as e:
# if the user already exists, ignore the error and proceed
if e.response["Error"]["Code"] != "EntityAlreadyExists":
Expand Down
1 change: 0 additions & 1 deletion gen3workflow/routes/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
HTTP_400_BAD_REQUEST,
)

# from gen3workflow import logger
from gen3workflow.auth import Auth
from gen3workflow.config import config
from gen3workflow import aws_utils
Expand Down

0 comments on commit 2657b23

Please sign in to comment.