Changeset 626 for tea4cups/trunk/tea4cups
- Timestamp:
- 04/18/05 23:18:23 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
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()