[PyWebMail-Checkins] webmail/webmail/utils expr_helper.py, 1.12, 1.13
Status: Beta
Brought to you by:
dubnerm
From: Michael D. <du...@us...> - 2008-03-03 19:13:31
|
Update of /cvsroot/pywebmail/webmail/webmail/utils In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10207 Modified Files: expr_helper.py Log Message: more debug output Index: expr_helper.py =================================================================== RCS file: /cvsroot/pywebmail/webmail/webmail/utils/expr_helper.py,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** expr_helper.py 17 Jul 2007 20:43:47 -0000 1.12 --- expr_helper.py 3 Mar 2008 19:13:00 -0000 1.13 *************** *** 35,42 **** --- 35,44 ---- def evalstr(self, expr, local_dict=None, global_dict=None): self.prepare(local_dict, global_dict) + _log.debug('evalstr(%s)', repr(expr)) return eval(expr, self.local_dict, self.global_dict) def execstr(self, expr, local_dict=None, global_dict=None): self.prepare(local_dict, global_dict) + _log.debug('execstr(%s)', repr(expr)) exec(expr, self.local_dict, self.global_dict) return self.local_dict |