Changeset 4071

Show
Ignore:
Timestamp:
02/16/09 19:08:00 (4 years ago)
Author:
gpolo
Message:

Updated to use force_set_umit_conf.

Location:
branch/NetworkInventory
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branch/NetworkInventory/umit-scheduler

    r4066 r4071  
    1010# the Free Software Foundation; either version 2 of the License, or 
    1111# (at your option) any later version. 
    12 #  
     12# 
    1313# This program is distributed in the hope that it will be useful, 
    1414# but WITHOUT ANY WARRANTY; without even the implied warranty of 
    1515# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    1616# GNU General Public License for more details. 
    17 #  
     17# 
    1818# You should have received a copy of the GNU General Public License 
    1919# along with this program; if not, write to the Free Software 
     
    4747    Setting umit home directory. 
    4848    """ 
    49     Path.set_umit_conf(usethis, True) 
     49    Path.force_set_umit_conf(usethis) 
    5050 
    5151    global HOME_CONF, RUNNING_FILE 
  • branch/NetworkInventory/umitCore/Paths.py

    r3952 r4071  
    131131        self._parse_and_set_dirs(config_file, config_dir) 
    132132 
    133     def set_umit_conf(self, base_dir, force=False): 
     133    def set_umit_conf(self, base_dir): 
    134134        main_config_dir = "" 
    135135        main_config_file = "" 
  • branch/NetworkInventory/umitCore/Scheduler.py

    r4066 r4071  
    396396 
    397397 
    398     def _set_mailto(self, mail):  
     398    def _set_mailto(self, mail): 
    399399        """ 
    400400        Set an email to receive job results. 
     
    668668    sys.path.insert(0, base_path) 
    669669    from umitCore.Paths import Path 
    670     Path.set_umit_conf(home_conf, True) 
     670    Path.force_set_umit_conf(home_conf) 
    671671 
    672672    from umitCore.UmitLogging import file_log