|
97 | 97 | from lib.core.settings import DEFAULT_COOKIE_DELIMITER |
98 | 98 | from lib.core.settings import DEFAULT_GET_POST_DELIMITER |
99 | 99 | from lib.core.settings import DEFAULT_MSSQL_SCHEMA |
100 | | -from lib.core.settings import DESCRIPTION |
101 | 100 | from lib.core.settings import DUMMY_USER_INJECTION |
102 | 101 | from lib.core.settings import DYNAMICITY_MARK_LENGTH |
103 | 102 | from lib.core.settings import ERROR_PARSING_REGEXES |
|
134 | 133 | from lib.core.settings import REFLECTED_REPLACEMENT_REGEX |
135 | 134 | from lib.core.settings import REFLECTED_VALUE_MARKER |
136 | 135 | from lib.core.settings import REFLECTIVE_MISS_THRESHOLD |
137 | | -from lib.core.settings import REVISION |
138 | 136 | from lib.core.settings import SENSITIVE_DATA_REGEX |
139 | | -from lib.core.settings import SITE |
140 | 137 | from lib.core.settings import SUPPORTED_DBMS |
141 | 138 | from lib.core.settings import TEXT_TAG_REGEX |
142 | 139 | from lib.core.settings import TIME_STDEV_COEFF |
|
146 | 143 | from lib.core.settings import URLENCODE_CHAR_LIMIT |
147 | 144 | from lib.core.settings import URLENCODE_FAILSAFE_CHARS |
148 | 145 | from lib.core.settings import USER_AGENT_ALIASES |
149 | | -from lib.core.settings import VERSION |
150 | 146 | from lib.core.settings import VERSION_STRING |
151 | 147 | from lib.core.threads import getCurrentThreadData |
152 | 148 | from lib.utils.sqlalchemy import _sqlalchemy |
@@ -1027,7 +1023,7 @@ def checkFile(filename): |
1027 | 1023 |
|
1028 | 1024 | if valid: |
1029 | 1025 | try: |
1030 | | - with open(filename, "rb") as f: |
| 1026 | + with open(filename, "rb"): |
1031 | 1027 | pass |
1032 | 1028 | except: |
1033 | 1029 | valid = False |
|
0 commit comments