[PyWebMail-Checkins] webmail/webmail/utils xgetopt.py,1.2,1.3
Status: Beta
Brought to you by:
dubnerm
From: Michael D. <du...@us...> - 2008-03-02 16:01:42
|
Update of /cvsroot/pywebmail/webmail/webmail/utils In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31311 Modified Files: xgetopt.py Log Message: earlier logging Index: xgetopt.py =================================================================== RCS file: /cvsroot/pywebmail/webmail/webmail/utils/xgetopt.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** xgetopt.py 1 Mar 2007 23:36:13 -0000 1.2 --- xgetopt.py 2 Mar 2008 16:01:46 -0000 1.3 *************** *** 19,22 **** --- 19,25 ---- if self.setup_ok: self.init_step() + self.setup_ok = self.presetup_logging() + if self.setup_ok: + self.init_step() self.setup_ok = self.parse_config() if self.setup_ok: *************** *** 55,58 **** --- 58,65 ---- print line + def presetup_logging(self): + webmail.utils.xlogging.appConfig(verbose=self.verbose) + return 1 + def setup_logging(self): webmail.utils.xlogging.appConfig(verbose=self.verbose) |