]> err.no Git - dak/commit
Use len() to calculate the number of lines, not max() and only do it once.
authorJames Troup <james@nocrew.org>
Mon, 17 Nov 2003 17:59:29 +0000 (17:59 +0000)
committerJames Troup <james@nocrew.org>
Mon, 17 Nov 2003 17:59:29 +0000 (17:59 +0000)
commit9a6ed8b073b00ab14baa23cf1ee75c51c52a66c1
treeda4358a0cc37bbbab4a2ed13df9676002b4516db
parente6f9691c67b50f990263c71b71e471b6a00dcb9f
Use len() to calculate the number of lines, not max() and only do it once.
utils.py