http://bugs.openembedded.org/show_bug.cgi?id=97
[EMAIL PROTECTED] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|VERIFIED |REOPENED
Resolution|FIXED |
------- Comment #4 from [EMAIL PROTECTED] 2007-01-23 13:21 -------
I've not been happy with the os.system call here for a variety of reasons. A
possible improvement would be to use l = f.readlines() and then slice the array
l, only printing the last n elements of the array. l[-100:-1] The disadvantage
to this is the whole log file has to get loaded into memory. An f.seek
(1*1024*1024, 2) might limit us to the last 1MB of the file.
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Bitbake-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bitbake-dev