Issue #19076: Don't pass the redundant 'file' argument to self.error().

This commit is contained in:
Berker Peksag 2014-07-12 18:24:32 +03:00
parent 4bfb14ac10
commit ad5ffd4767
2 changed files with 3 additions and 1 deletions

View file

@ -673,7 +673,7 @@ class Pdb(bdb.Bdb, cmd.Cmd):
# now set the break point
err = self.set_break(filename, line, temporary, cond, funcname)
if err:
self.error(err, file=self.stdout)
self.error(err)
else:
bp = self.get_breaks(filename, line)[-1]
self.message("Breakpoint %d at %s:%d" %