Skip to content

Commit 1f0beff

Browse files
committed
bah
1 parent c710570 commit 1f0beff

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎v3/pg_logger.py‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,6 @@ def open_wrapper(*args):
212212
def eval_wrapper(*args):
213213
return eval(*args)
214214

215-
def exec_wrapper(*args):
216-
return exec(*args)
217-
218215

219216
class RawInputException(Exception):
220217
pass
@@ -1206,8 +1203,6 @@ def _runscript(self, script_str, custom_globals=None):
12061203
user_builtins[k] = open_wrapper
12071204
elif k == 'eval':
12081205
user_builtins[k] = eval_wrapper
1209-
elif k == 'exec':
1210-
user_builtins[k] = exec_wrapper
12111206
elif k in BANNED_BUILTINS:
12121207
continue
12131208
elif k == '__import__':

0 commit comments

Comments
 (0)