diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:05:41 -0600 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-06 08:31:35 +0200 |
| commit | 26bd16cdc7d24ec13a1c319cef4943dc39fb3dae (patch) | |
| tree | d5cd0158c8b09cc4450068b8bf047875758fd41a /lib/kross/python/scripts/RestrictedPython | |
| parent | 081186aa08883b3831cbda6d41ec9e19bf8ed7cd (diff) | |
| download | koffice-26bd16cdc7d24ec13a1c319cef4943dc39fb3dae.tar.gz koffice-26bd16cdc7d24ec13a1c319cef4943dc39fb3dae.zip | |
Rename obsolete tq methods to standard names
(cherry picked from commit 2d6954f69caf63ed5057bd8e1405a65d7d970292)
Diffstat (limited to 'lib/kross/python/scripts/RestrictedPython')
| -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 295ba7913..4fbdcad1c 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] |
