r101447 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101446‎ | r101447 | r101448 >
Date:00:26, 1 November 2011
Author:laner
Status:deferred
Tags:
Comment:
Follow up to r101446.
Modified paths:
  • /trunk/tools/subversion/user-management/homedirectorymanager.py (modified) (history)

Diff [purge]

Index: trunk/tools/subversion/user-management/homedirectorymanager.py
@@ -73,11 +73,11 @@
7474 if self.options.group:
7575 self.group = self.options.group
7676
77 - if options.logfile:
78 - self.logfile = options.logfile
 77+ if self.options.logfile:
 78+ self.logfile = self.options.logfile
7979
80 - if options.loglevel:
81 - self.setLogLevel(options.loglevel)
 80+ if self.options.loglevel:
 81+ self.setLogLevel(self.options.loglevel)
8282
8383 # use proxy agent by default
8484 ldapSupportLib.setBindInfoByOptions(self.options, parser)
@@ -333,9 +333,9 @@
334334 def setDebugLevel(self, loglevel):
335335 if loglevel.lower() == "debug":
336336 self.loglevel = DEBUG
337 - else if loglevel.lower() == "info":
 337+ elif loglevel.lower() == "info":
338338 self.loglevel = INFO
339 - else if loglevel.lower() == "none":
 339+ elif loglevel.lower() == "none":
340340 self.loglevel = NONE
341341 else:
342342 self.loglevel = INFO

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r101446Adding support for logging levels, and log fileslaner00:17, 1 November 2011

Status & tagging log