Commit ad632be9 authored by Jérome Perrin's avatar Jérome Perrin

DateTime is present in python scripts namespace


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils/erp5flakes@16390 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fbe8e9c9
......@@ -93,7 +93,7 @@ def getValidNames(py_script, blacklist_names=()):
name_list.append(param)
restricted_python_names = ['same_type', 'printed', 'string', 'test',
'math', 'random'] # DateTime ?
'math', 'random', 'DateTime' ]
return name_list + list(restricted_python_names)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment