[Zope-CVS] CVS: Packages/zpkgtools/zpkgtools - include.py:1.28
Fred L. Drake, Jr.
fred at zope.com
Mon Apr 19 11:39:04 EDT 2004
Update of /cvs-repository/Packages/zpkgtools/zpkgtools
In directory cvs.zope.org:/tmp/cvs-serv4453
Modified Files:
include.py
Log Message:
make the tests pass again now that the error is being detected
=== Packages/zpkgtools/zpkgtools/include.py 1.27 => 1.28 ===
--- Packages/zpkgtools/zpkgtools/include.py:1.27 Mon Apr 19 10:33:31 2004
+++ Packages/zpkgtools/zpkgtools/include.py Mon Apr 19 11:39:02 2004
@@ -158,6 +158,9 @@
raise cfgparser.ConfigurationError(
"all inclusion lines must be in a <collection> or"
" <distribution> section")
+ if not src:
+ raise InclusionSpecificationError("source information omitted",
+ self.filename)
dest = normalize_path(dest, "destination")
src = normalize_path_or_url(src, "source")
if src == "-":
More information about the Zope-CVS
mailing list