Ignore:
Timestamp:
02/24/07 08:47:18 (5 years ago)
Author:
christian
Message:

Created a eclipse test environment, containing a trac env as well. Username for that is "admin" with password "admin". Please note that the python run path is hardcoded since pydev doesn't allow variable expansion yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sitemap-plugin/trunk/src/sitemap/wiki.py

    r19 r30  
    4545        } 
    4646         
    47     def set_configuration(self, priority, frequency): 
     47    def set_configuration(self, req): 
    4848        """Update config to new values""" 
    4949         
     
    5454        wiki = WikiSystem(self.env) 
    5555        d = [] 
    56         href = Href(req.base_url) 
     56        href = Href(self.env.base_url) 
    5757        for pagename in wiki.get_pages(): 
    5858            page = WikiPage(self.env, pagename) 
     
    6464            entry_time = datetime.datetime.utcfromtimestamp(post_time) 
    6565            d.append(RessourceData( 
    66                                   href(req.href.wiki(pagename)), 
     66                                  href.wiki(pagename), 
    6767                                  entry_time.strftime("%Y-%m-%dT%H:%M:%SZ"), 
    6868                                  self.frequency, 
Note: See TracChangeset for help on using the changeset viewer.