Skip to content

Commit eeefdc5

Browse files
committed
Python: Fix formatting
1 parent bee8e6f commit eeefdc5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

python/ql/src/experimental/Security/CWE-287-ConstantSecretKey/WebAppConstantSecretKeyFlask.qll

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,12 @@ module FlaskConstantSecretKeyConfig {
6363
sink = attr.getValue()
6464
)
6565
or
66-
exists(SecretKeyAssignStmt e |
67-
sink.asExpr() = e.getValue()
68-
)
66+
exists(SecretKeyAssignStmt e | sink.asExpr() = e.getValue())
6967
) and
7068
exists(sink.getScope().getLocation().getFile().getRelativePath()) and
7169
not sink.getScope().getLocation().getFile().inStdlib()
7270
}
71+
7372
/**
7473
* An Assignments like `SECRET_KEY = ConstantValue`
7574
* and `SECRET_KEY` file must be the Location that is specified in argument of `from_object` or `from_pyfile` methods

0 commit comments

Comments
 (0)