Ignore:
Timestamp:
2 Feb 2012, 21:09:31 (13 years ago)
Author:
Henrik Bettermann
Message:

Move storage path configuration to SIRPUtils in order to ease customization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/utils/utils.py

    r7477 r7568  
    1818"""General helper utilities for SIRP.
    1919"""
     20import os
    2021import grok
    2122import string
     
    3839    """
    3940    grok.implements(ISIRPUtils)
     41
     42    def storage(self):
     43        """Return the initial storage path of the data center.
     44        """
     45        return os.path.dirname(__file__).replace('utils','files')
    4046
    4147    def sendContactForm(self,from_name,from_addr,rcpt_name,rcpt_addr,
Note: See TracChangeset for help on using the changeset viewer.