[ctypes-commit] ctypes/comtypes _comobject.py,1.1.2.1,1.1.2.2
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2005-12-07 19:42:10
|
Update of /cvsroot/ctypes/ctypes/comtypes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21671 Modified Files: Tag: branch_1_0 _comobject.py Log Message: Fix some pychecker warnings. Index: _comobject.py =================================================================== RCS file: /cvsroot/ctypes/ctypes/comtypes/Attic/_comobject.py,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** _comobject.py 20 Oct 2005 17:23:11 -0000 1.1.2.1 --- _comobject.py 7 Dec 2005 19:41:57 -0000 1.1.2.2 *************** *** 87,91 **** def IUnknown_Release(self, this, ! _InterlockedDecrement=_InterlockedDecrement, _byref=byref, _debug=logging.getLogger("comtypes.refcount").debug): --- 87,91 ---- def IUnknown_Release(self, this, ! InterlockedDecrement=_InterlockedDecrement, _byref=byref, _debug=logging.getLogger("comtypes.refcount").debug): *************** *** 94,98 **** # module level variables may have been deleted already - so we # supply them as default arguments. ! result = _InterlockedDecrement(_byref(self._refcnt)) _debug("%r.Release() -> %s", self, result) if result == 0: --- 94,98 ---- # module level variables may have been deleted already - so we # supply them as default arguments. ! result = InterlockedDecrement(_byref(self._refcnt)) _debug("%r.Release() -> %s", self, result) if result == 0: |