[Zope-CVS] CVS: Packages/zpkgtools/bin - zpkg:1.16
Fred L. Drake, Jr.
fred at zope.com
Tue Mar 30 16:34:39 EST 2004
Update of /cvs-repository/Packages/zpkgtools/bin
In directory cvs.zope.org:/tmp/cvs-serv5667
Modified Files:
zpkg
Log Message:
not being able to load a resource from CVS is a reportable error, but
not cause to dump a traceback
=== Packages/zpkgtools/bin/zpkg 1.15 => 1.16 ===
--- Packages/zpkgtools/bin/zpkg:1.15 Fri Mar 19 16:57:33 2004
+++ Packages/zpkgtools/bin/zpkg Tue Mar 30 16:34:29 2004
@@ -200,10 +200,14 @@
def run(self):
try:
- self.loadResource()
- self.buildDistribution()
- if self.options.include_support_code:
- self.includeSupportCode()
+ try:
+ self.loadResource()
+ self.buildDistribution()
+ if self.options.include_support_code:
+ self.includeSupportCode()
+ except cvsloader.CvsLoadingError, e:
+ print >>sys.stderr, e
+ sys.exit(e.exitcode)
self.createTarball()
self.cleanup()
except:
More information about the Zope-CVS
mailing list