Ignore:
Timestamp:
4 Feb 2012, 06:28:29 (13 years ago)
Author:
Henrik Bettermann
Message:

Remove deprecated datacenter storage stuff.

Attention: Start your instance and set a new storage path via the UI before deleting the files directory.

Location:
main/waeup.sirp/trunk/src/waeup/sirp
Files:
1 deleted
2 edited

Legend:

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

    r7579 r7585  
    3030from waeup.sirp.interfaces import (IDataCenter, IDataCenterFile,
    3131                                   IDataCenterStorageMovedEvent,
    32                                    #ISIRPUtils,
    3332                                   IDataCenterConfig)
    3433from waeup.sirp.utils.helpers import copy_filesystem_tree
     
    4544    def __init__(self, *args, **kw):
    4645        super(DataCenter, self).__init__(*args, **kw)
    47         #self.storage = getUtility(ISIRPUtils).storage()
    4846        self.storage = getUtility(IDataCenterConfig)['path']
    4947        self._createSubDirs()
  • main/waeup.sirp/trunk/src/waeup/sirp/utils/utils.py

    r7568 r7585  
    3939    """
    4040    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')
    4641
    4742    def sendContactForm(self,from_name,from_addr,rcpt_name,rcpt_addr,
Note: See TracChangeset for help on using the changeset viewer.