Commit 161e5c9c authored by Vincent Pelletier's avatar Vincent Pelletier

Allow selected os.path members.

parent e1e0c2c2
......@@ -178,3 +178,11 @@ allow_module('difflib')
allow_module('hashlib')
allow_module('time')
allow_module('urlparse')
ModuleSecurityInfo('os.path').declarePublic(
# Allow functions accessing neither file system nor environment.
'abspath', 'basename', 'commonprefix', 'dirname', 'isabs', 'join',
'normpath', 'split', 'splitext',
# Also allow some handy data properties.
'sep', 'pardir', 'curdir', 'extsep',
)
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