Skip to content

Commit 3367485

Browse files
committed
IMP openupgrade disable_invalid_filters
1 parent ac5bc6e commit 3367485

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

openupgradelib/openupgrade.py

+7
Original file line numberDiff line numberDiff line change
@@ -2898,6 +2898,13 @@ def format_message(f):
28982898
)
28992899
f.active = False
29002900
break
2901+
# ACTION_ID
2902+
if f.action_id and not f.action_id.exists():
2903+
logger.warning(
2904+
format_message(f) + "as it contains an invalid action_id %s.",
2905+
f.action_id,
2906+
)
2907+
f.active = False
29012908

29022909

29032910
def add_fields(env, field_spec):

0 commit comments

Comments
 (0)