Changeset 352
- Timestamp:
- 23-05-08 12:08:16 (5 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
moap/util/command.py (modified) (1 diff)
-
moap/util/util.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r351 r352 1 2008-05-23 Thomas Vander Stichele <thomas at apestaart dot org> 2 3 * moap/util/command.py: 4 * moap/util/util.py: 5 Implement .debug to chain up correctly to Log class. 6 1 7 2008-05-23 Thomas Vander Stichele <thomas at apestaart dot org> 2 8 -
trunk/moap/util/command.py
r216 r352 5 5 Command class. 6 6 """ 7 from moap.extern.log import log 8 from moap.extern.command import command 7 9 8 # FIXME: remove this compat import 9 from moap.extern.command.command import * 10 class LogCommand(command.Command, log.Loggable): 11 def __init__(self, parentCommand=None, **kwargs): 12 command.Command.__init__(self, parentCommand, **kwargs) 13 self.logCategory = self.name 14 15 # command.Command has a fake debug method, so choose the right one 16 def debug(self, format, *args): 17 kwargs = {} 18 log.Loggable.doLog(self, log.DEBUG, -2, format, *args, **kwargs) 19 -
trunk/moap/util/util.py
r148 r352 7 7 import tempfile 8 8 9 from moap.util import command, log 9 from moap.extern.log import log 10 from moap.extern.command import command 10 11 11 12 def getPackageModules(packageName, ignore=None): … … 137 138 self.logCategory = self.name 138 139 139 140 # command.Command has a fake debug method, so choose the right one 141 def debug(self, format, *args): 142 kwargs = {} 143 log.Loggable.doLog(self, log.DEBUG, -2, format, *args, **kwargs)
Note: See TracChangeset
for help on using the changeset viewer.
