Skip to content

Commit c9e36aa

Browse files
committed
Python: Fix deprecated deprecated
1 parent 9ec531f commit c9e36aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/ql/lib/semmle/python/security/strings/Basic.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,6 @@ deprecated private predicate f_string(ControlFlowNode fromnode, ControlFlowNode
119119
*
120120
* DEPRECATED: Use `ExternalStringDictKind` instead.
121121
*/
122-
deprecated deprecated class StringDictKind extends DictKind {
122+
deprecated class StringDictKind extends DictKind {
123123
StringDictKind() { this.getValue() instanceof StringKind }
124124
}

python/ql/lib/semmle/python/security/strings/External.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ deprecated class ExternalUrlParseResult extends ExternalStringSequenceKind {
134134

135135
/* Helper for getTaintForStep() */
136136
pragma[noinline]
137-
deprecated deprecated private predicate json_subscript_taint(
137+
deprecated private predicate json_subscript_taint(
138138
SubscriptNode sub, ControlFlowNode obj, ExternalJsonKind seq, TaintKind key
139139
) {
140140
sub.isLoad() and

0 commit comments

Comments
 (0)