eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/SecurityChecker.py

changeset 8166
bd5cd5858503
parent 7923
91e843545d9a
child 8198
1c765dc90c21
equal deleted inserted replaced
8165:61ca9619decb 8166:bd5cd5858503
221 Private method to generate an AST for our source. 221 Private method to generate an AST for our source.
222 222
223 @return generated AST 223 @return generated AST
224 @rtype ast.AST 224 @rtype ast.AST
225 """ 225 """
226 source = "".join(self.__source) 226 return ast.parse("".join(self.__source), self.__filename)
227 return compile(source, self.__filename, 'exec', ast.PyCF_ONLY_AST)
228 227
229 def getConfig(self): 228 def getConfig(self):
230 """ 229 """
231 Public method to get the configuration dictionary. 230 Public method to get the configuration dictionary.
232 231

eric ide

mercurial