Don't rename set_trace

This commit is contained in:
Florian Bruhin 2014-06-17 15:28:06 +02:00
parent 4a0e34fca7
commit 8971d2ac18

View File

@ -36,8 +36,8 @@ except ImportError:
import qutebrowser.commands.utils as cmdutils
@cmdutils.register(debug=True)
def debug_set_trace():
@cmdutils.register(debug=True, name='debug-set-trace')
def set_trace():
"""Set a tracepoint in the Python debugger that works with Qt.
Based on http://stackoverflow.com/a/1745965/2085149