Changeset 274


Ignore:
Timestamp:
06/08/09 11:39:15 (5 years ago)
Author:
david
Message:

ensuring filters are run

File:
1 edited

Legend:

Unmodified
Added
Removed
  • enpraxis.staticsite/trunk/enpraxis/staticsite/utilities/staticsiteutility.py

    r270 r274  
    5757            index_path = '%s/index.html' % path 
    5858            raw = self._httpget(url) 
     59            if domain: 
     60                raw = self.runFilters(raw, None, portal_url, domain) 
    5961            self._writeFile(index_path, raw, last_modified) 
    6062        elif brain.Type in ['Page']: 
     
    6466            raw = self._httpget(url)         
    6567            if domain: 
    66                 data = self.runFilters(raw, None, portal_url, domain) 
    67             self._writeFile(path, data, last_modified) 
     68                raw = self.runFilters(raw, None, portal_url, domain) 
     69            self._writeFile(path, raw, last_modified) 
    6870        else: 
    6971            #get file object 
     
    7173            raw = self._httpget(url)         
    7274            self._writeFile(path, raw, last_modified) 
    73  
    7475 
    7576    def runFilters(self, data, filterchain, portal_url, domain): 
Note: See TracChangeset for help on using the changeset viewer.