Update of /cvsroot/pywin32/pywin32/com/win32com/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13230/com/win32com/test
Modified Files:
util.py
Log Message:
Show what command failed when registering a COM object.
Index: util.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/test/util.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** util.py 26 Aug 2006 08:22:30 -0000 1.7
--- util.py 24 May 2007 05:33:26 -0000 1.8
***************
*** 27,30 ****
--- 27,32 ----
rc = os.system(cmd)
if rc:
+ print "Registration command was:"
+ print cmd
raise RuntimeError, "Registration of engine '%s' failed" % filename
|