Skip to content

Commit b866652

Browse files
author
Scot Kronenfeld
committed
For python3, force tags to be a list (instead of the default dict_keys).
1 parent 1502173 commit b866652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_lambda/aws_lambda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ def update_function(
642642
}
643643
if tags != existing_cfg['Tags']:
644644
client.untag_resource(Resource=ret['FunctionArn'],
645-
TagKeys=existing_cfg['Tags'].keys())
645+
TagKeys=list(existing_cfg['Tags'].keys()))
646646
client.tag_resource(Resource=ret['FunctionArn'], Tags=tags)
647647

648648

0 commit comments

Comments
 (0)