Changeset 698 for pykota/trunk

Show
Ignore:
Timestamp:
02/05/03 23:10:29 (22 years ago)
Author:
jalet
Message:

Typos

Location:
pykota/trunk/pykota
Files:
4 modified

Legend:

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

    r697 r698  
    1515# 
    1616# $Log$ 
     17# Revision 1.3  2003/02/05 22:10:29  jalet 
     18# Typos 
     19# 
    1720# Revision 1.2  2003/02/05 22:02:22  jalet 
    1821# __import__ statement didn't work as expected 
     
    3942    backend = config.getLoggingBackend() 
    4043    try : 
    41         if not isalpha(backend) : 
     44        if not backend.isalpha() : 
    4245            # don't trust user input 
    4346            raise ImportError 
  • pykota/trunk/pykota/requester.py

    r697 r698  
    1515# 
    1616# $Log$ 
     17# Revision 1.3  2003/02/05 22:10:29  jalet 
     18# Typos 
     19# 
    1720# Revision 1.2  2003/02/05 22:02:22  jalet 
    1821# __import__ statement didn't work as expected 
     
    3740    backend = config.getRequesterBackend(printername) 
    3841    try : 
    39         if not isalpha(backend) : 
     42        if not backend.isalpha() : 
    4043            # don't trust user input 
    4144            raise ImportError 
  • pykota/trunk/pykota/storage.py

    r697 r698  
    1515# 
    1616# $Log$ 
     17# Revision 1.3  2003/02/05 22:10:29  jalet 
     18# Typos 
     19# 
    1720# Revision 1.2  2003/02/05 22:02:22  jalet 
    1821# __import__ statement didn't work as expected 
     
    3740    (backend, host, database, admin, user) = config.getStorageBackend() 
    3841    try : 
    39         if not isalpha(backend) : 
     42        if not backend.isalpha() : 
    4043            # don't trust user input 
    4144            raise ImportError 
  • pykota/trunk/pykota/tool.py

    r695 r698  
    1515# 
    1616# $Log$ 
     17# Revision 1.2  2003/02/05 22:10:29  jalet 
     18# Typos 
     19# 
    1720# Revision 1.1  2003/02/05 21:28:17  jalet 
    1821# Initial import into CVS 
     
    4346        """Initializes the command line tool.""" 
    4447        self.config = config.PyKotaConfig(os.environ.get("CUPS_SERVERROOT", "/etc/cups")) 
    45         self.logger = logger.Logger(self.config) 
     48        self.logger = logger.openLogger(self.config) 
    4649        self.storage = storage.openConnection(self.config, asadmin=(not isfilter)) 
    4750        self.printername = os.environ.get("PRINTER", None)