Author: remi
Date: 2009-06-10 10:45:11 +0200 (Wed, 10 Jun 2009)
New Revision: 4767
Modified:
software_suite_v3/smart-core/smart-server/trunk/util/attitunes/AttitunesContainer.py
Log:
* added a parameter in the method "addDirectory" to set the observer name.
Modified:
software_suite_v3/smart-core/smart-server/trunk/util/attitunes/AttitunesContainer.py
===================================================================
---
software_suite_v3/smart-core/smart-server/trunk/util/attitunes/AttitunesContainer.py
2009-06-10 08:44:22 UTC (rev 4766)
+++
software_suite_v3/smart-core/smart-server/trunk/util/attitunes/AttitunesContainer.py
2009-06-10 08:45:11 UTC (rev 4767)
@@ -41,11 +41,12 @@
#
--------------------------------------------------------------------------
# Add an attitunes directory to deploy.
#
--------------------------------------------------------------------------
- def addDirectory(self, directory):
+ def addDirectory(self, directory, name = None):
"""Add an attitunes directory to deploy.
@param directory: Directory path.
+ @param name: Name of the directory observer.
"""
- self.__autoDeployer.addDirectory(directory, [".att",])
+ self.__autoDeployer.addDirectory(directory, [".att",], name)
#
--------------------------------------------------------------------------
# Remove an attitunes directory to deploy.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn