Show
Ignore:
Timestamp:
03/12/05 22:29:42 (19 years ago)
Author:
jerome
Message:

Finalized transition to the new name for the project

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tea4cups/trunk/tea4cups

    r575 r576  
    22# -*- coding: ISO-8859-15 -*- 
    33 
    4 # CupsOfTee : Tee for CUPS 
     4# Tea4CUPS : Tee for CUPS 
    55# 
    66# (c) 2005 Jerome Alet <alet@librelogiciel.com> 
     
    3232 
    3333class TeeError(Exception): 
    34     """Base exception for CupsOfTee related stuff.""" 
     34    """Base exception for Tea4CUPS related stuff.""" 
    3535    def __init__(self, message = ""): 
    3636        self.message = message 
     
    5555        """Initializes the CUPS backend wrapper.""" 
    5656        confdir = os.environ.get("CUPS_SERVERROOT", ".")  
    57         self.conffile = os.path.join(confdir, "cupsoftee.conf") 
     57        self.conffile = os.path.join(confdir, "tea4cups.conf") 
    5858        if os.path.isfile(self.conffile) : 
    5959            self.config = ConfigParser.ConfigParser() 
     
    194194                            if fullname.startswith('"') and fullname.endswith('"') : 
    195195                                fullname = fullname[1:-1] 
    196                             available.append('%s cupsoftee:%s "CupsOfTee+%s" "CupsOfTee managed %s"' \ 
     196                            available.append('%s tea4cups:%s "Tea4CUPS+%s" "Tea4CUPS managed %s"' \ 
    197197                                                 % (devicetype, device, name, fullname)) 
    198198            os.remove(lockfilename) 
     
    209209                 
    210210            # check that the DEVICE_URI environment variable's value is  
    211             # prefixed with "cupsoftee:" otherwise don't touch it. 
     211            # prefixed with "tea4cups:" otherwise don't touch it. 
    212212            # If this is the case, we have to remove the prefix from  
    213213            # the environment before launching the real backend in cupspykota