[Zope3-checkins] CVS: Zope3/utilities - finddeps.py:1.16

Fred L. Drake, Jr. fred at zope.com
Wed Apr 7 13:27:15 EDT 2004


Update of /cvs-repository/Zope3/utilities
In directory cvs.zope.org:/tmp/cvs-serv26839

Modified Files:
	finddeps.py 
Log Message:
give a useful error instead of a traceback if the path passed to the
-d/--dir option does not exist


=== Zope3/utilities/finddeps.py 1.15 => 1.16 ===
--- Zope3/utilities/finddeps.py:1.15	Thu Mar 25 08:47:53 2004
+++ Zope3/utilities/finddeps.py	Wed Apr  7 13:27:14 2004
@@ -411,6 +411,10 @@
                                  " extracted from Python and ZCML files")
             sys.exit(1)
 
+    else:
+        print >>sys.stderr, path, "does not exist"
+        sys.exit(1)
+
     return deps
 
 




More information about the Zope3-Checkins mailing list