Show
Ignore:
Timestamp:
03/29/03 14:08:28 (21 years ago)
Author:
jalet
Message:

Configuration is now expected to be found in /etc/pykota.conf instead of
in /etc/cups/pykota.conf
Installation script can move old config files to the new location if needed.
Better error handling if configuration file is absent.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/tool.py

    r852 r872  
    1515# 
    1616# $Log$ 
     17# Revision 1.28  2003/03/29 13:08:28  jalet 
     18# Configuration is now expected to be found in /etc/pykota.conf instead of 
     19# in /etc/cups/pykota.conf 
     20# Installation script can move old config files to the new location if needed. 
     21# Better error handling if configuration file is absent. 
     22# 
    1723# Revision 1.27  2003/03/15 23:01:28  jalet 
    1824# New mailto option in configuration file added. 
     
    144150        # pykota specific stuff 
    145151        self.documentation = doc 
    146         self.config = config.PyKotaConfig(os.environ.get("CUPS_SERVERROOT", "/etc/cups")) 
     152        self.config = config.PyKotaConfig("/etc") 
    147153        self.logger = logger.openLogger(self.config) 
    148154        self.storage = storage.openConnection(self.config, asadmin=(not isfilter))