[pybot-commits] CVS: pybot/pybot/modules eval.py,1.10,1.11
Brought to you by:
niemeyer
|
From: Gustavo N. <nie...@us...> - 2003-08-29 17:14:43
|
Update of /cvsroot/pybot/pybot/pybot/modules
In directory sc8-pr-cvs1:/tmp/cvs-serv24478/pybot/modules
Modified Files:
eval.py
Log Message:
Remove __builtins__ from keywords list.
Index: eval.py
===================================================================
RCS file: /cvsroot/pybot/pybot/pybot/modules/eval.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** eval.py 29 Aug 2003 16:35:31 -0000 1.10
--- eval.py 29 Aug 2003 17:14:30 -0000 1.11
***************
*** 192,195 ****
--- 192,196 ----
if mm.hasperm(msg, "eval"):
keywords = self.dict.keys()
+ keywords.remove("__builtins__")
keywords.sort()
msg.answer("%:", "The following keywords are available:",
|