Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/dialogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30565
Modified Files:
Tag: py3k
status.py
Log Message:
Fix a couple more thread -> _thread problems from 2to3
Index: status.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/dialogs/status.py,v
retrieving revision 1.3.4.1
retrieving revision 1.3.4.2
diff -C2 -d -r1.3.4.1 -r1.3.4.2
*** status.py 29 Aug 2008 06:16:41 -0000 1.3.4.1
--- status.py 29 Aug 2008 06:44:50 -0000 1.3.4.2
***************
*** 25,29 ****
(0, 0, w, h),
style,
! None,
(8, "MS Sans Serif")],
]
--- 25,29 ----
(0, 0, w, h),
style,
! 0,
(8, "MS Sans Serif")],
]
***************
*** 153,157 ****
self._Send(MYWM_SET)
! class ProgressThread(_thread.WinThread):
def __init__(self, title, msg = "", maxticks = 100, tickincr = 1):
self.title = title
--- 153,157 ----
self._Send(MYWM_SET)
! class ProgressThread(thread.WinThread):
def __init__(self, title, msg = "", maxticks = 100, tickincr = 1):
self.title = title
***************
*** 160,164 ****
self.tickincr = tickincr
self.dialog = None
! _thread.WinThread.__init__(self)
self.createdEvent = threading.Event()
--- 160,164 ----
self.tickincr = tickincr
self.dialog = None
! thread.WinThread.__init__(self)
self.createdEvent = threading.Event()
***************
*** 171,175 ****
pass
self.createdEvent.set()
! return _thread.WinThread.InitInstance(self)
def ExitInstance(self):
--- 171,175 ----
pass
self.createdEvent.set()
! return thread.WinThread.InitInstance(self)
def ExitInstance(self):
|