Skip to content

Commit

Permalink
aws - dynamodb - cleaner code
Browse files Browse the repository at this point in the history
  • Loading branch information
kentnsw committed Nov 23, 2022
1 parent 903a5a8 commit 3d9bdee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c7n/resources/dynamodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ class UpdateTable(BaseAction):
def process(self, resources):
resources = self.filter_resources(
resources, 'TableStatus', self.valid_status)
if not len(resources):
if not resources:
return
params = copy.deepcopy(self.data)
params.pop("type")
Expand Down

0 comments on commit 3d9bdee

Please sign in to comment.