logo       
Google Custom Search
    AddThis Social Bookmark Button

svn commit: r1557 - trunk: lib windows: msg#00000

Subject: svn commit: r1557 - trunk: lib windows
Author: cmpilato
Date: 2007-04-02 05:38:33-0700
New Revision: 1557

Modified:
   trunk/lib/win32popen.py
   trunk/windows/README

Log:
* windows/README
  Update Python for Windows Extensions URL (they now live at SourceForge).

* lib/win32popen.py
  Suggest that the Python for Windows Extensions might not be installed
  when importing a module from that collection fails.


Modified: trunk/lib/win32popen.py
Url: 
http://viewvc.tigris.org/source/browse/viewvc/trunk/lib/win32popen.py?view=diff&rev=1557&p1=trunk/lib/win32popen.py&p2=trunk/lib/win32popen.py&r1=1556&r2=1557
==============================================================================
--- trunk/lib/win32popen.py     (original)
+++ trunk/lib/win32popen.py     2007-04-02 05:38:33-0700
@@ -15,8 +15,18 @@
 # -----------------------------------------------------------------------
 
 import os, sys, traceback, string, thread
+try:
+  import win32api
+except ImportError, e:
+  raise ImportError, str(e) + """
+
+Did you install the Python for Windows Extensions?
+
+   http://sourceforge.net/projects/pywin32/
+"""
+
 import win32process, win32pipe, win32con
-import win32event, win32file, win32api, winerror
+import win32event, win32file, winerror
 import pywintypes, msvcrt
 
 # Buffer size for spooling

Modified: trunk/windows/README
Url: 
http://viewvc.tigris.org/source/browse/viewvc/trunk/windows/README?view=diff&rev=1557&p1=trunk/windows/README&p2=trunk/windows/README&r1=1556&r2=1557
==============================================================================
--- trunk/windows/README        (original)
+++ trunk/windows/README        2007-04-02 05:38:33-0700
@@ -14,7 +14,7 @@
 
 and the Python for Windows Extensions which are at
 
-  http://starship.python.net/crew/mhammond/win32/
+  http://sourceforge.net/projects/pywin32/
 
 For CVS support, ViewVC also requires that the CVSNT client (cvs.exe) OR the
 RCS tools (rlog.exe, rcsdiff.exe, and co.exe) be installed on your computer.
@@ -404,7 +404,7 @@
   page would always return nothing (leaving the screen blank). There were a
   number of workarounds for this problem, but the fix is to download and
   install the latest python win32 extensions from
-  http://starship.python.net/crew/mhammond/win32/Downloads.html
+  http://sourceforge.net/projects/pywin32/
 
 - ViewVC can't convert timestamps on diff pages to local time when it is used
   with CVSNT. This is caused by a CVSNT bug, which is described at



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>