Skip to content

Commit 917699f

Browse files
gbleaneyfacebook-github-bot
authored andcommitted
Remove unnecessary alias
Summary: Now that the uses of this funtion are migrated in distillery (D30142356), we can remove the alias since it's unused. Reviewed By: grievejia Differential Revision: D30142403 fbshipit-source-id: d394bf3f3d2a2525ebb1341b67dc1ada06cc994b
1 parent 44a9707 commit 917699f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/generate_taint_models/constructor_generator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from importlib import import_module
1010
from typing import Callable, Iterable, List, Optional, Type, TypeVar
1111

12-
from .subclass_generator import get_all_subclasses_from_environment as all_subclasses
12+
from .subclass_generator import get_all_subclasses_from_environment
1313

1414
LOG: logging.Logger = logging.getLogger(__name__)
1515
T = TypeVar("T")
@@ -41,7 +41,7 @@ def gather_all_constructors_in_hierarchy(
4141
+ "__init__ function and thus taint can't be followed. Skipping..."
4242
)
4343
continue
44-
children_classes = all_subclasses(class_to_taint)
44+
children_classes = get_all_subclasses_from_environment(class_to_taint)
4545

4646
all_inits_from_classes.update(
4747
child.__init__

0 commit comments

Comments
 (0)