Update of /cvsroot/pythoncard/PythonCard/tools/oneEditor
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20828/tools/oneEditor
Modified Files:
codePage.py
Log Message:
Remove debug aids - put if True ..... else ... back to try ... except ...
Index: codePage.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/tools/oneEditor/codePage.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** codePage.py 10 Oct 2004 23:02:08 -0000 1.3
--- codePage.py 10 Oct 2004 23:38:29 -0000 1.4
***************
*** 122,126 ****
def saveFile(self, path):
! if True:
f = open(path, 'wb')
try:
--- 122,126 ----
def saveFile(self, path):
! try:
f = open(path, 'wb')
try:
***************
*** 135,139 ****
self.setEditorStyle()
self.topLevelParent.setTitleBar(os.path.split(path)[-1])
! else:
pass
--- 135,139 ----
self.setEditorStyle()
self.topLevelParent.setTitleBar(os.path.split(path)[-1])
! except:
pass
|