[Zope-CVS] CVS: Packages/zpkgtools/zpkgtools - app.py:1.62

Fred L. Drake, Jr. fred at zope.com
Wed May 12 17:54:23 EDT 2004


Update of /cvs-repository/Packages/zpkgtools/zpkgtools
In directory cvs.zope.org:/tmp/cvs-serv11737

Modified Files:
	app.py 
Log Message:
be more careful about avoiding re-handling the top-level component


=== Packages/zpkgtools/zpkgtools/app.py 1.61 => 1.62 ===
--- Packages/zpkgtools/zpkgtools/app.py:1.61	Wed May 12 15:42:39 2004
+++ Packages/zpkgtools/zpkgtools/app.py	Wed May 12 17:54:20 2004
@@ -104,7 +104,8 @@
             depsdir = os.path.join(self.destination, "Dependencies")
             first = True
             handled = sets.Set()
-            remaining = top.get_dependencies()
+            handled.add(self.resource)
+            remaining = top.get_dependencies() - handled
             while remaining:
                 resource = remaining.pop()
                 handled.add(resource)




More information about the Zope-CVS mailing list