mirror of
https://github.com/github/codeql.git
synced 2025-12-22 03:36:30 +01:00
Python: Fix deprecated deprecated
This commit is contained in:
@@ -119,6 +119,6 @@ deprecated private predicate f_string(ControlFlowNode fromnode, ControlFlowNode
|
|||||||
*
|
*
|
||||||
* DEPRECATED: Use `ExternalStringDictKind` instead.
|
* DEPRECATED: Use `ExternalStringDictKind` instead.
|
||||||
*/
|
*/
|
||||||
deprecated deprecated class StringDictKind extends DictKind {
|
deprecated class StringDictKind extends DictKind {
|
||||||
StringDictKind() { this.getValue() instanceof StringKind }
|
StringDictKind() { this.getValue() instanceof StringKind }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ deprecated class ExternalUrlParseResult extends ExternalStringSequenceKind {
|
|||||||
|
|
||||||
/* Helper for getTaintForStep() */
|
/* Helper for getTaintForStep() */
|
||||||
pragma[noinline]
|
pragma[noinline]
|
||||||
deprecated deprecated private predicate json_subscript_taint(
|
deprecated private predicate json_subscript_taint(
|
||||||
SubscriptNode sub, ControlFlowNode obj, ExternalJsonKind seq, TaintKind key
|
SubscriptNode sub, ControlFlowNode obj, ExternalJsonKind seq, TaintKind key
|
||||||
) {
|
) {
|
||||||
sub.isLoad() and
|
sub.isLoad() and
|
||||||
|
|||||||
Reference in New Issue
Block a user