diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:05:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:05:41 -0600 |
commit | 2d6954f69caf63ed5057bd8e1405a65d7d970292 (patch) | |
tree | 88e6436b2e81d4e68313f02a9021054252e14cc4 /lib/kross/python/scripts/RestrictedPython/Guards.py | |
parent | f0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (diff) | |
download | koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.tar.gz koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'lib/kross/python/scripts/RestrictedPython/Guards.py')
-rw-r--r-- | lib/kross/python/scripts/RestrictedPython/Guards.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kross/python/scripts/RestrictedPython/Guards.py b/lib/kross/python/scripts/RestrictedPython/Guards.py index 295ba791..4fbdcad1 100644 --- a/lib/kross/python/scripts/RestrictedPython/Guards.py +++ b/lib/kross/python/scripts/RestrictedPython/Guards.py @@ -24,7 +24,7 @@ for name in ['False', 'None', 'True', 'abs', 'basestring', 'bool', 'callable', 'chr', 'cmp', 'complex', 'divmod', 'float', 'hash', 'hex', 'id', 'int', 'isinstance', 'issubclass', 'len', 'long', 'oct', 'ord', 'pow', 'range', 'repr', 'round', - 'str', 'tuple', 'unichr', 'tqunicode', 'xrange', 'zip']: + 'str', 'tuple', 'unichr', 'unicode', 'xrange', 'zip']: safe_builtins[name] = __builtins__[name] |