From 586a227b7fdedd3d6824aff4a8d6a5e282702947 Mon Sep 17 00:00:00 2001 From: Mike Naberezny Date: Sat, 13 Dec 2014 19:09:56 -0800 Subject: [PATCH] Remove unnecessary call to address_for() --- py65/monitor.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/py65/monitor.py b/py65/monitor.py index 5aa5e6a..b0167db 100644 --- a/py65/monitor.py +++ b/py65/monitor.py @@ -759,9 +759,7 @@ class Monitor(cmd.Cmd): self._output("Syntax error: %s" % args) return self.help_add_breakpoint() - address = self._address_parser.address_for(split[0]) - if not address: - address = self._address_parser.number(split[0]) + address = self._address_parser.number(split[0]) if address not in self._address_parser.breakpoints: self._output("Breakpoint %d added at $%04X" % (len(self._address_parser.breakpoints), address))