- Timestamp:
- 04/18/05 23:18:23 (20 years ago)
- Location:
- tea4cups/trunk
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
tea4cups/trunk/NEWS
r625 r626 24 24 * 2.11 : 25 25 26 - More powerful error handling at startup time. 27 26 28 - Ignores errors in posthooks because the job was probably 27 29 successfully printed so no need to stop the print queue. -
tea4cups/trunk/tea4cups
r625 r626 219 219 """Fakes a configuration file parser.""" 220 220 def get(self, section, option, raw=0) : 221 """Fakes the retrieval of a globaloption."""221 """Fakes the retrieval of an option.""" 222 222 raise ConfigError, "Invalid configuration file : no option %s in section [%s]" % (option, section) 223 223 … … 231 231 self.myname = "tea4cups" 232 232 self.pid = os.getpid() 233 234 def readConfig(self) : 235 """Reads the configuration file.""" 233 236 confdir = os.environ.get("CUPS_SERVERROOT", ".") 234 237 self.conffile = os.path.join(confdir, "%s.conf" % self.myname) … … 874 877 else : 875 878 try : 879 wrapper.readConfig() 876 880 wrapper.initBackend() 877 881 wrapper.saveDatasAndCheckSum()