src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/prohibitedCalls.py

branch
eric7
changeset 10996
a3dc181d14e1
parent 10683
779cda568acb
child 11090
f5f5f5803935
diff -r f94a27bbf6c4 -r a3dc181d14e1 src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/prohibitedCalls.py
--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/prohibitedCalls.py	Mon Oct 21 16:21:24 2024 +0200
+++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/prohibitedCalls.py	Mon Oct 21 19:31:11 2024 +0200
@@ -132,7 +132,7 @@
             ],
             "L",
         ),
-        "S312": (["telnetlib.*"], "H"),
+        "S312": (["telnetlib.Telnet"], "H"),
         "S313": (
             [
                 "xml.etree.cElementTree.parse",
@@ -170,7 +170,7 @@
             ],
             "M",
         ),
-        "S321": (["ftplib.*"], "H"),
+        "S321": (["ftplib.FTP"], "H"),
         "S322": (["input"], "H"),
         "S323": (["ssl._create_unverified_context"], "M"),
     }

eric ide

mercurial