Skip to content

Commit 4356902

Browse files
committed
Use saferepr for eval
1 parent 87c0112 commit 4356902

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ See Also
283283
.. _trepan2: https://pypi.python.org/pypi/trepan2
284284
.. _trepan3: https://github.com/rocky/python3-trepan
285285
.. _trepanxpy: https://pypi.python.org/pypi/trepanxpy
286-
.. _other: https://www.npmjs.com/package/trepanjs
286+
.. _other: https://repology.org/project/zshdb/versions
287287
.. _trepanning: https://rubygems.org/gems/trepanning
288288
.. _debuggers: https://metacpan.org/pod/Devel::Trepan
289289
.. _this: http://bashdb.sourceforge.net/pydb/features.html

trepan/processor/cmdproc.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,8 @@ def process_command(self):
867867
elif not self.settings("autoeval"):
868868
self.undefined_cmd(current_command)
869869
else:
870-
self.exec_line(current_command)
870+
# Autoeval
871+
self._saferepr(self.exec_line(current_command))
871872
pass
872873
pass
873874
pass

0 commit comments

Comments
 (0)