Changeset 2657 for pykota/trunk/pykota/tool.py
- Timestamp:
- 02/09/06 00:15:46 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/tool.py
r2650 r2657 195 195 return self.charset 196 196 197 def display(self, message) : 198 """Display a message but only if stdout is a tty.""" 199 if sys.stdout.isatty() : 200 sys.stdout.write(message) 201 sys.stdout.flush() 202 197 203 def logdebug(self, message) : 198 204 """Logs something to debug output if debug is enabled."""