[Idle-dev] CVS: idle IOBinding.py,1.12,1.13

Kurt B. Kaiser kbk@users.sourceforge.net
Mon, 03 Mar 2003 20:42:06 -0800


Update of /cvsroot/idlefork/idle
In directory sc8-pr-cvs1:/tmp/cvs-serv19845

Modified Files:
	IOBinding.py 
Log Message:
Attempting to save the shell raised an error related to saving
breakpoints, which are not implemented in the shell


Index: IOBinding.py
===================================================================
RCS file: /cvsroot/idlefork/idle/IOBinding.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** IOBinding.py	31 Dec 2002 15:59:14 -0000	1.12
--- IOBinding.py	4 Mar 2003 04:42:04 -0000	1.13
***************
*** 275,279 ****
              if self.writefile(self.filename):
                  self.set_saved(1)
!                 self.editwin.store_file_breaks()
          self.text.focus_set()
          return "break"
--- 275,282 ----
              if self.writefile(self.filename):
                  self.set_saved(1)
!                 try:
!                     self.editwin.store_file_breaks()
!                 except AttributeError:  # may be a PyShell
!                     pass
          self.text.focus_set()
          return "break"
***************
*** 285,289 ****
                  self.set_filename(filename)
                  self.set_saved(1)
!                 self.editwin.store_file_breaks()
          self.text.focus_set()
          self.updaterecentfileslist(filename)
--- 288,295 ----
                  self.set_filename(filename)
                  self.set_saved(1)
!                 try:
!                     self.editwin.store_file_breaks()
!                 except AttributeError:
!                     pass
          self.text.focus_set()
          self.updaterecentfileslist(filename)