Changeset 7585 for main/waeup.sirp/trunk/src
- Timestamp:
- 4 Feb 2012, 06:28:29 (13 years ago)
- 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 30 30 from waeup.sirp.interfaces import (IDataCenter, IDataCenterFile, 31 31 IDataCenterStorageMovedEvent, 32 #ISIRPUtils,33 32 IDataCenterConfig) 34 33 from waeup.sirp.utils.helpers import copy_filesystem_tree … … 45 44 def __init__(self, *args, **kw): 46 45 super(DataCenter, self).__init__(*args, **kw) 47 #self.storage = getUtility(ISIRPUtils).storage()48 46 self.storage = getUtility(IDataCenterConfig)['path'] 49 47 self._createSubDirs() -
main/waeup.sirp/trunk/src/waeup/sirp/utils/utils.py
r7568 r7585 39 39 """ 40 40 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')46 41 47 42 def sendContactForm(self,from_name,from_addr,rcpt_name,rcpt_addr,
Note: See TracChangeset for help on using the changeset viewer.