Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/framework/editor
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18639/Pythonwin/pywin/framework/editor
Modified Files:
vss.py
Log Message:
various syntax modernizations
Index: vss.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/framework/editor/vss.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** vss.py 2 Oct 2008 13:03:55 -0000 1.5
--- vss.py 26 Nov 2008 08:39:33 -0000 1.6
***************
*** 83,90 ****
ok = 1
except pythoncom.com_error, exc:
! msg = exc.strerror
! if exc:
! msg = exc[2]
! win32ui.MessageBox(msg, "Error checking out file")
except:
typ, val, tb = sys.exc_info()
--- 83,87 ----
ok = 1
except pythoncom.com_error, exc:
! win32ui.MessageBox(exc.strerror, "Error checking out file")
except:
typ, val, tb = sys.exc_info()
|