Commit 7f926000 authored by Evan Simpson's avatar Evan Simpson

Handle stray files in standard/

parent 7f85c614
...@@ -84,8 +84,8 @@ ...@@ -84,8 +84,8 @@
############################################################################## ##############################################################################
__doc__='''Application support __doc__='''Application support
$Id: Application.py,v 1.171 2001/11/26 16:07:07 evan Exp $''' $Id: Application.py,v 1.172 2001/11/26 18:42:03 evan Exp $'''
__version__='$Revision: 1.171 $'[11:-2] __version__='$Revision: 1.172 $'[11:-2]
import Globals,Folder,os,sys,App.Product, App.ProductRegistry, misc_ import Globals,Folder,os,sys,App.Product, App.ProductRegistry, misc_
import time, traceback, os, string, Products import time, traceback, os, string, Products
...@@ -786,6 +786,8 @@ def install_standards(app): ...@@ -786,6 +786,8 @@ def install_standards(app):
continue continue
app.manage_addProduct['PageTemplates'].manage_addPageTemplate( app.manage_addProduct['PageTemplates'].manage_addPageTemplate(
id=fn, title='', text=open(ob.filename)) id=fn, title='', text=open(ob.filename))
else:
continue
wrote = 1 wrote = 1
ob.__replaceable__ = Globals.REPLACEABLE ob.__replaceable__ = Globals.REPLACEABLE
setattr(Application, fn, ob) setattr(Application, fn, ob)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment