Add FIXME comments

This commit is contained in:
René Stadler 2008-11-26 23:21:57 +02:00 committed by Stefan Sauer
parent 867a312f93
commit 984549d45a
2 changed files with 3 additions and 0 deletions

View file

@ -277,6 +277,7 @@ class LogLine (list):
if isinstance (message_offset, str):
message = message_offset
# FIXME: Regarding object_, this doesn't fully replicate the formatting!
return "%s %5d 0x%x %s %20s %s:%d:%s:<%s> %s" % (time_args (ts), pid, thread, level.name.ljust (5),
category, filename, line, function,
object_, message,)

View file

@ -1964,6 +1964,8 @@ class Window (object):
def handle_edit_copy_line_action_activate (self, action):
# TODO: Should probably copy the _exact_ line as taken from the file.
line = self.get_active_line ()
log_line = Data.LogLine (line)
self.clipboard.set_text (log_line.line_string ())