[Zope-CVS] CVS: Packages/zpkgtools/zpkgtools - app.py:1.42
Fred L. Drake, Jr.
fred at zope.com
Thu Apr 29 19:38:05 EDT 2004
Update of /cvs-repository/Packages/zpkgtools/zpkgtools
In directory cvs.zope.org:/tmp/cvs-serv18687
Modified Files:
app.py
Log Message:
replace occurrances of PUBLICATION.cfg in strings with refernces to
the appropriate constant
=== Packages/zpkgtools/zpkgtools/app.py 1.41 => 1.42 ===
--- Packages/zpkgtools/zpkgtools/app.py:1.41 Thu Apr 29 19:26:47 2004
+++ Packages/zpkgtools/zpkgtools/app.py Thu Apr 29 19:38:04 2004
@@ -296,7 +296,7 @@
self.generate_package_setup(destination, name)
def load_metadata(self):
- metadata_file = os.path.join(self.source, "PUBLICATION.cfg")
+ metadata_file = os.path.join(self.source, publication.PUBLICATION_CONF)
if not os.path.isfile(metadata_file):
self.error("source-dir does not contain required"
" publication data file")
@@ -315,7 +315,8 @@
apptypes = msg.get_all("Installation-type", [])
if len(apptypes) > 1:
self.error("installation-type can only be"
- " specified once in PUBLICATION.cfg")
+ " specified once in %s",
+ publication.PUBLICATION_CONF)
if apptypes and apptypes[0].lower() == "application":
# This is an application rather than a normal collection
self.resource_type = "application"
More information about the Zope-CVS
mailing list