Created
October 31, 2014 09:57
-
-
Save kryskool/8aff3058639a40e9a281 to your computer and use it in GitHub Desktop.
[PATCH] tools: remove useless attributes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
server/openerp/tools/safe_eval.py | 2 -- | |
1 file changed, 2 deletions(-) | |
diff --git a/server/openerp/tools/safe_eval.py b/server/openerp/tools/safe_eval.py | |
index b99de38..7ac3b51 100644 | |
--- a/server/openerp/tools/safe_eval.py | |
+++ b/server/openerp/tools/safe_eval.py | |
@@ -220,8 +220,6 @@ def safe_eval(expr, globals_dict=None, locals_dict=None, mode="eval", nocopy=Fal | |
'False': False, | |
'None': None, | |
'str': str, | |
- 'globals': locals, | |
- 'locals': locals, | |
'bool': bool, | |
'dict': dict, | |
'list': list, | |
-- | |
2.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment