[Checkins] SVN: zope.kgs/trunk/src/zope/kgs/site.py add some more logging for good measure.
Paul Carduner
cvs-admin at zope.org
Tue Jan 27 01:45:12 EST 2009
Log message for revision 95073:
add some more logging for good measure.
Changed:
U zope.kgs/trunk/src/zope/kgs/site.py
-=-
Modified: zope.kgs/trunk/src/zope/kgs/site.py
===================================================================
--- zope.kgs/trunk/src/zope/kgs/site.py 2009-01-27 06:23:58 UTC (rev 95072)
+++ zope.kgs/trunk/src/zope/kgs/site.py 2009-01-27 06:45:12 UTC (rev 95073)
@@ -41,6 +41,9 @@
def generateSite(siteDir, templateDir, force=False):
# Create some important variables
kgsPath = os.path.join(siteDir, 'controlled-packages.cfg')
+ if not os.path.exists(kgsPath):
+ logger.error("The site directory specified does not have a controlled-packages.cfg file.")
+ return
set = kgs.KGS(kgsPath)
ver = set.version
logger.info(
@@ -100,6 +103,7 @@
# Create a links config file and version it
linksPath = os.path.join(versionDir, 'links.html')
+ logger.info("generating links")
link.generateLinks(kgsPath, linksPath)
# Update the full index (which is assumed to live in the site directory)
More information about the Checkins
mailing list