179 return True |
179 return True |
180 |
180 |
181 return False |
181 return False |
182 |
182 |
183 |
183 |
184 def securityOk(errorCode, lineFlags): # noqa: U100 |
184 def securityOk(_errorCode, lineFlags): |
185 """ |
185 """ |
186 Function to check, if the given error code is an acknowledged security report. |
186 Function to check, if the given error code is an acknowledged security report. |
187 |
187 |
188 @param errorCode error code to be checked |
188 @param _errorCode error code to be checked (unused) |
189 @type str |
189 @type str |
190 @param lineFlags list of line flags to check against |
190 @param lineFlags list of line flags to check against |
191 @type list of str |
191 @type list of str |
192 @return flag indicating an acknowledged security report |
192 @return flag indicating an acknowledged security report |
193 @rtype bool |
193 @rtype bool |