Skip to content

Commit a12f3b4

Browse files
committed
move original_resources below the comment starting the block
1 parent 98b5687 commit a12f3b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auditmiddleware/_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,8 +531,8 @@ def _create_cadf_event(self, project, res_spec, res_id, res_parent_id,
531531
# Get the context - could be dict or RequestContext object
532532
context = adhoc_attrs.get('context', {})
533533

534-
original_resources = []
535534
# Handle both dict and RequestContext object types
535+
original_resources = []
536536
if hasattr(context, 'original_resources'):
537537
original_resources = context.original_resources
538538
else:

0 commit comments

Comments
 (0)