oops, forgot to return.

This commit is contained in:
Jeremy Fincher 2004-08-25 04:08:42 +00:00
parent 92b0d6da1f
commit 9f1dd19ff7
1 changed files with 1 additions and 0 deletions

View File

@ -268,6 +268,7 @@ class ValidLogLevel(registry.String):
level = logging.getLevelName(self.value)
if level.startswith('Level'):
level = level.split()[-1]
return level
class LogLevel(ValidLogLevel):
"""Invalid log level. Value must be either DEBUG, INFO, WARNING, ERROR,